diff options
Diffstat (limited to 'main/rrdtool/APKBUILD')
-rw-r--r-- | main/rrdtool/APKBUILD | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD index b578360123..df08affd06 100644 --- a/main/rrdtool/APKBUILD +++ b/main/rrdtool/APKBUILD @@ -25,11 +25,7 @@ builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare libtoolize --force && aclocal && autoconf --force && automake --add-missing } @@ -45,15 +41,14 @@ build() { --enable-rrdcgi \ --enable-perl-site-install \ --enable-lua-site-install \ - --with-perl-options="INSTALLDIRS=vendor" \ - || return 1 - make || return 1 + --with-perl-options="INSTALLDIRS=vendor" + make } package() { cd "$builddir" export INSTALLDIRS=vendor - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name 'perllocal.pod' -delete } @@ -126,16 +121,6 @@ libs() { default_libs } -md5sums="c3703bca0472e43930e3ddaa848446fc rrdtool-1.5.6.tar.gz -f94e916381af48dcf5687aa046b35aac lua-install-cmod.patch -ab92a2b87f71d59e3830dac3b227c357 libm-underlinking.patch -e14d13f10fa575733e791bcb8b0711fe no-posix-fallocate.patch -d1a4b08c484b9dfd120c9691f8204919 rrdcached.initd" -sha256sums="9832775479684b8f94767201ee0440a1cacdbbbb7dd6736eb96b9a0750644ce8 rrdtool-1.5.6.tar.gz -1e49eeca4561d29da3975f84e06b27f0f305e566bb26922397d938eede678b71 lua-install-cmod.patch -0495bd122941bcd635ca2a2b7c3f01a6eb3ca3e00b7e40c257862b7071b7738a libm-underlinking.patch -8b32dcf1b8c7f9967934e25ab05ef6a9384cb6096d32dd5d63046bafd7cac1ad no-posix-fallocate.patch -b05b61a7d2ef4db480b276c1351b50eea5d73c9d0c0223d32ab548d6476926f7 rrdcached.initd" sha512sums="b980e36932683dbe2c2793c291c34e1c3a7fba208bda35b4b2d4fc994a9539c3c19f568e184d4fc13f9647b2715151147deeaf975d978f820e449129f3cfb7fd rrdtool-1.5.6.tar.gz 0be4ebb864233cf32fa70c872f5421b2da50ad39d6a265c2f5869337b40647c0b88011ccf41fe17a8d35de915ca1c38d04d67696118e1e32ff774221b1816ab6 lua-install-cmod.patch 94449972ccc7d1a057c2b827c041a16de1667c280a47ef30c1323ec9168812a96374704cc42dd832a30b8cc08d7fad94da44ff3695c66f3a0d324a87158fc23c libm-underlinking.patch |