aboutsummaryrefslogtreecommitdiffstats
path: root/main/rrdtool
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2012-12-12 02:16:45 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2012-12-12 02:16:45 -0600
commit1e114ef2b08f55b69bbd64d213d3720958949da2 (patch)
tree1ab42080efa760fcd17a075be7b00da1bb6a6e31 /main/rrdtool
parenta961d7672edfda15ce80bb85e36d5e36504bbce1 (diff)
downloadaports-1e114ef2b08f55b69bbd64d213d3720958949da2.tar.bz2
aports-1e114ef2b08f55b69bbd64d213d3720958949da2.tar.xz
main/rrdtool: add python support
Diffstat (limited to 'main/rrdtool')
-rw-r--r--main/rrdtool/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD
index b064ce6c9e..75f489b896 100644
--- a/main/rrdtool/APKBUILD
+++ b/main/rrdtool/APKBUILD
@@ -1,16 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rrdtool
pkgver=1.4.7
-pkgrel=3
+pkgrel=4
pkgdesc="Data logging and graphing application"
url="http://www.rrdtool.org"
arch="all"
license="GPL"
depends=
makedepends="libart-lgpl-dev libpng-dev freetype-dev perl-dev cairo-dev
- pango-dev lua-dev man
+ pango-dev lua-dev python-dev man
autoconf automake"
-subpackages="$pkgname-dev $pkgname-doc perl-rrd:perl_rrd lua-rrd:lua_rrd"
+subpackages="$pkgname-dev $pkgname-doc perl-rrd:perl_rrd lua-rrd:lua_rrd py-rrd:py_rrd"
source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz
lua-install-cmod.patch
"
@@ -29,11 +29,11 @@ build() {
cd "$_builddir"
./configure --prefix=/usr \
--disable-tcl \
- --disable-python \
--disable-ruby \
--enable-rrdcgi \
--enable-perl-site-install \
--enable-lua-site-install \
+ --enable-python-site-install \
--with-perl-options="INSTALLDIRS=vendor" \
|| return 1
make || return 1
@@ -68,6 +68,11 @@ lua_rrd() {
mv "$pkgdir"/usr/lib/lua "$subpkgdir"/usr/lib/
}
+py_rrd() {
+ pkgdesc="Python interface for rrdtool"
+ mkdir -p "$subpkgdir"/usr/lib/
+ mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
+}
md5sums="ffe369d8921b4dfdeaaf43812100c38f rrdtool-1.4.7.tar.gz
f94e916381af48dcf5687aa046b35aac lua-install-cmod.patch"