aboutsummaryrefslogtreecommitdiffstats
path: root/main/rrdtool
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-30 08:48:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-30 08:48:57 +0000
commitee5792d5103452130f6ce9ad715138417a406ce7 (patch)
treefead17c319ed433f7f1c3c1f1236621625c2f8fa /main/rrdtool
parentb44e525c45d42ab7850aca85f2b504c4de7a74d7 (diff)
downloadaports-ee5792d5103452130f6ce9ad715138417a406ce7.tar.bz2
aports-ee5792d5103452130f6ce9ad715138417a406ce7.tar.xz
main/rrdtool: split out lua module
Diffstat (limited to 'main/rrdtool')
-rw-r--r--main/rrdtool/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD
index ea250f81dc..d300dbc763 100644
--- a/main/rrdtool/APKBUILD
+++ b/main/rrdtool/APKBUILD
@@ -1,14 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rrdtool
pkgver=1.4.5
-pkgrel=0
+pkgrel=1
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"
-subpackages="$pkgname-dev $pkgname-doc perl-rrd:perl_rrd"
+makedepends="libart-lgpl-dev libpng-dev freetype-dev perl-dev cairo-dev
+ pango-dev lua-dev man"
+subpackages="$pkgname-dev $pkgname-doc perl-rrd:perl_rrd lua-rrd:lua_rrd"
source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -50,4 +51,11 @@ perl_rrd() {
mv "$pkgdir"/usr/share/perl* "$subpkgdir"/usr/share/
}
+lua_rrd() {
+ pkgdesc="Lua interface for rrdtool"
+ mkdir -p "$subpkgdir"/usr/lib/
+ mv "$pkgdir"/usr/lib/lua "$subpkgdir"/usr/lib/
+}
+
+
md5sums="4d116dba9a0888d8aaac179e35d3980a rrdtool-1.4.5.tar.gz"