diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-28 14:21:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-28 14:21:13 +0000 |
commit | 689c8065a635b56c4dc45df467393217a6729d6a (patch) | |
tree | 38191ea77617295a2f46ddb84e043c5ff78bb056 | |
parent | 8e928b24d0e04c0394297376538b42dd71abaf93 (diff) | |
download | aports-689c8065a635b56c4dc45df467393217a6729d6a.tar.bz2 aports-689c8065a635b56c4dc45df467393217a6729d6a.tar.xz |
main/rrdtool: install perl modules in vendor dir
-rw-r--r-- | main/rrdtool/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD index ce1f2c6c6..333abc933 100644 --- a/main/rrdtool/APKBUILD +++ b/main/rrdtool/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=rrdtool pkgver=1.2.30 -pkgrel=4 +pkgrel=5 pkgdesc="Data logging and graphing application" url="http://www.rrdtool.org" license="GPL" @@ -17,13 +17,17 @@ build() { --disable-tcl \ --disable-python \ --disable-ruby \ - --enable-rrdcgi + --enable-rrdcgi \ + --enable-perl-site-install \ + --with-perl-options="INSTALLDIRS=vendor" \ + || return 1 make || return 1 } package() { cd "$_builddir" + export INSTALLDIRS=vendor make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name 'perllocal.pod' -delete @@ -37,8 +41,10 @@ dev() { perl_rrd() { pkgdesc="Perl interface for rrdtool" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/perl "$subpkgdir"/usr/lib/ + mkdir -p "$subpkgdir"/usr/lib \ + "$pkgdir"/usr/share + mv "$pkgdir"/usr/lib/perl* "$subpkgdir"/usr/lib/ + mv "$pkgdir"/usr/share/perl* "$subpkgdir"/usr/share/ } md5sums="19b24f7184a8dbf7b48c1bbb565ad9fb rrdtool-1.2.30.tar.gz" |