aboutsummaryrefslogtreecommitdiffstats
path: root/main/rrdtool
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-29 10:57:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-29 10:57:42 +0000
commitc8ad4e89ca73549f35306b3099a1a2a14ea0846c (patch)
tree7db44adb2508a7d3c040e102d30e90c407126a29 /main/rrdtool
parent6b0e7ba2234386da9f32588d92809c0b5213e954 (diff)
downloadaports-c8ad4e89ca73549f35306b3099a1a2a14ea0846c.tar.bz2
aports-c8ad4e89ca73549f35306b3099a1a2a14ea0846c.tar.xz
main/rrdtool: rebuild against libpng-1.4
Diffstat (limited to 'main/rrdtool')
-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