aboutsummaryrefslogtreecommitdiffstats
path: root/main/rrdtool
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2012-12-12 02:16:45 -0600
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-21 14:10:42 +0000
commit85a4f9c379440ba949eabbe618a37e9763330888 (patch)
tree949b1f5c5bb9646d8d069ffecde3e4bc1d5d5245 /main/rrdtool
parent2c8b32dfc80cb39fbc1b11c9c770bc6d8b3500b8 (diff)
downloadaports-85a4f9c379440ba949eabbe618a37e9763330888.tar.bz2
aports-85a4f9c379440ba949eabbe618a37e9763330888.tar.xz
main/rrdtool: add python support
(cherry picked from commit 1e114ef2b08f55b69bbd64d213d3720958949da2)
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"