diff options
author | William Pitcock <nenolod@dereferenced.org> | 2012-12-12 02:16:45 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2012-12-12 02:16:45 -0600 |
commit | 1e114ef2b08f55b69bbd64d213d3720958949da2 (patch) | |
tree | 1ab42080efa760fcd17a075be7b00da1bb6a6e31 /main/rrdtool/APKBUILD | |
parent | a961d7672edfda15ce80bb85e36d5e36504bbce1 (diff) | |
download | aports-1e114ef2b08f55b69bbd64d213d3720958949da2.tar.bz2 aports-1e114ef2b08f55b69bbd64d213d3720958949da2.tar.xz |
main/rrdtool: add python support
Diffstat (limited to 'main/rrdtool/APKBUILD')
-rw-r--r-- | main/rrdtool/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD index b064ce6c9..75f489b89 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" |