aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 14:42:18 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-16 16:41:47 +0000
commit26020d8a095865211dec9fce7845f90c1d147ffe (patch)
tree397923b0075aecaf21ce2ba1c889c16bc33a1412
parent5d92803458fd62553dc20f832c98d586c5ede269 (diff)
downloadaports-26020d8a095865211dec9fce7845f90c1d147ffe.tar.gz
aports-26020d8a095865211dec9fce7845f90c1d147ffe.tar.bz2
aports-26020d8a095865211dec9fce7845f90c1d147ffe.tar.xz
main/sysfsutils: modernise, mark no tests, fix license
-rw-r--r--main/sysfsutils/APKBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/main/sysfsutils/APKBUILD b/main/sysfsutils/APKBUILD
index ef19cb5e37..8cab01c97e 100644
--- a/main/sysfsutils/APKBUILD
+++ b/main/sysfsutils/APKBUILD
@@ -5,31 +5,31 @@ pkgrel=8
pkgdesc="System Utilities Based on Sysfs"
url="http://linux-diag.sourceforge.net/Sysfsutils.html"
arch="all"
-license="GPL LGPL"
+options="!check" # No test suite.
+license="GPL-2.0-only, LGPL-2.1-only"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
- update_config_sub || return 1
+ cd "$builddir"
+ update_config_sub
+ default_prepare
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --mandir=/usr/share/man \
- || return 1
- make || return 1
+ --mandir=/usr/share/man
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir"/ install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir"/ install
}
sha512sums="485902d98b41a69343cb037883d0c0a1de8a1a4aed657cd4528fe10bc845ac51629657dff01deef042e57c9bd9243095e23fc931d06d74db31b03c5f0a18cf07 sysfsutils-2.1.0.tar.gz"