aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/rrdtool/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD
index 541a54e85e..b35091fa2b 100644
--- a/main/rrdtool/APKBUILD
+++ b/main/rrdtool/APKBUILD
@@ -1,18 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rrdtool
pkgver=1.2.30
-pkgrel=0
+pkgrel=1
pkgdesc="Data logging and graphing application"
url="http://www.rrdtool.org"
license="GPL"
-depends="libart-lgpl libpng freetype uclibc"
+depends=
makedepends="libart-lgpl-dev libpng-dev freetype-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
-
+ cd "$_builddir"
./configure --prefix=/usr \
--disable-tcl \
--disable-perl \
@@ -22,6 +22,10 @@ build() {
--disable-rrdcgi
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name 'perllocal.pod' -delete