diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-03-17 13:25:26 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-03-17 13:25:26 +0000 |
commit | 81c2352a99059478d28c4993436798837d82f80f (patch) | |
tree | 3e6d70f7884c2129c6da7df8c1780616eaf66551 /main/rrdtool | |
parent | d5f92b3d22ae4f5b2d10771fe7fcdb5c0bb4c421 (diff) | |
download | aports-81c2352a99059478d28c4993436798837d82f80f.tar.bz2 aports-81c2352a99059478d28c4993436798837d82f80f.tar.xz |
main/rrdtool: disable check, modernize APKBUILD
Diffstat (limited to 'main/rrdtool')
-rw-r--r-- | main/rrdtool/APKBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD index 25bd2994e3..e7fd7f6193 100644 --- a/main/rrdtool/APKBUILD +++ b/main/rrdtool/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=rrdtool pkgver=1.5.6 -pkgrel=1 +pkgrel=2 pkgdesc="Data logging and graphing application" url="http://www.rrdtool.org" arch="all" @@ -20,11 +20,11 @@ source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz dont-install-in-usr-local.patch rrdcached.initd " - -_builddir="$srcdir"/$pkgname-$pkgver +options="!check" +builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" + cd "$builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -34,7 +34,7 @@ prepare() { } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -51,7 +51,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" export INSTALLDIRS=vendor make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" -name '.packlist' -delete |