diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/rrdtool | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/rrdtool')
-rw-r--r-- | main/rrdtool/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD new file mode 100644 index 000000000..541a54e85 --- /dev/null +++ b/main/rrdtool/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=rrdtool +pkgver=1.2.30 +pkgrel=0 +pkgdesc="Data logging and graphing application" +url="http://www.rrdtool.org" +license="GPL" +depends="libart-lgpl libpng freetype uclibc" +makedepends="libart-lgpl-dev libpng-dev freetype-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="http://oss.oetiker.ch/$pkgname/pub/$pkgname-$pkgver.tar.gz" + +build() { + cd "$srcdir"/$pkgname-$pkgver + + ./configure --prefix=/usr \ + --disable-tcl \ + --disable-perl \ + --disable-perl-site-install \ + --disable-python \ + --disable-ruby \ + --disable-rrdcgi + + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name 'perllocal.pod' -delete +} + +dev() { + default_dev + mkdir -p "$subpkgdir"/usr/share/$pkgname + mv "$pkgdir"/usr/share/$pkgname/examples "$subpkgdir"/usr/share/$pkgname/ +} + +md5sums="19b24f7184a8dbf7b48c1bbb565ad9fb rrdtool-1.2.30.tar.gz" |