forked from ports/contrib
40 lines
883 B
Plaintext
40 lines
883 B
Plaintext
# Description: A system to store and display time-series data.
|
|
# URL: http://oss.oetiker.ch/rrdtool/index.en.html
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
# Packager: Younes Hafri, ycrux at club-internet dot fr
|
|
# Depends on: libart_lgpl libcgi libgd python tcl freetype
|
|
|
|
name=rrdtool
|
|
version=1.2.23
|
|
release=1
|
|
source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-$version.tar.gz)
|
|
|
|
build() {
|
|
cd rrdtool-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-shared \
|
|
--enable-local-libpng \
|
|
--enable-local-zlib \
|
|
--enable-perl-site-install \
|
|
--enable-ruby-site-install
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r \
|
|
$PKG/usr/share/doc \
|
|
$PKG/usr/share/rrdtool/examples
|
|
|
|
# Remove perlcrap
|
|
find $PKG \
|
|
\( -name '.packlist' -or \
|
|
-name '*.bs' -or \
|
|
-name 'perllocal.pod' \) -delete
|
|
|
|
# Remove empty directories
|
|
find $PKG -depth -empty -delete
|
|
}
|
|
|