Commit 1dbe1e8b authored by Natanael Copa's avatar Natanael Copa
Browse files

extra/rrdtool: new aport

Data logging and graphing application
http://www.rrdtool.org
parent 715d54b2
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment