aboutsummaryrefslogtreecommitdiffstats
path: root/main/rrdtool/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-13 11:46:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-13 11:46:24 +0000
commit861cf340e330410e66a48e220ecb13734a8c3eae (patch)
treebb9330dab76d33e9c48df5780f52cae81394d590 /main/rrdtool/APKBUILD
parent4411ab47a361bb2483e368022c0b103b6e09d948 (diff)
downloadaports-861cf340e330410e66a48e220ecb13734a8c3eae.tar.bz2
aports-861cf340e330410e66a48e220ecb13734a8c3eae.tar.xz
main/rrdtool: provide perl-rrd subpackage
ref #348
Diffstat (limited to 'main/rrdtool/APKBUILD')
-rw-r--r--main/rrdtool/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD
index b5794f36db..e91e0af400 100644
--- a/main/rrdtool/APKBUILD
+++ b/main/rrdtool/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rrdtool
pkgver=1.2.30
-pkgrel=2
+pkgrel=3
pkgdesc="Data logging and graphing application"
url="http://www.rrdtool.org"
license="GPL"
depends=
-makedepends="libart-lgpl-dev libpng-dev freetype-dev"
-subpackages="$pkgname-dev $pkgname-doc"
+makedepends="libart-lgpl-dev libpng-dev freetype-dev perl-dev"
+subpackages="$pkgname-dev $pkgname-doc perl-rrd:perl_rrd"
source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -15,8 +15,6 @@ build() {
cd "$_builddir"
./configure --prefix=/usr \
--disable-tcl \
- --disable-perl \
- --disable-perl-site-install \
--disable-python \
--disable-ruby \
--disable-rrdcgi
@@ -37,4 +35,10 @@ dev() {
mv "$pkgdir"/usr/share/$pkgname/examples "$subpkgdir"/usr/share/$pkgname/
}
+perl_rrd() {
+ pkgdesc="Perl interface for rrdtool"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/perl "$subpkgdir"/usr/lib/
+}
+
md5sums="19b24f7184a8dbf7b48c1bbb565ad9fb rrdtool-1.2.30.tar.gz"