42 lines
925 B
Plaintext
42 lines
925 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.26
|
|
release=1
|
|
source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-$version.tar.gz)
|
|
|
|
build() {
|
|
cd rrdtool-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--enable-shared \
|
|
--disable-static \
|
|
--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 perl crap
|
|
find $PKG \
|
|
\( -name '.packlist' -o \
|
|
-name '*.bs' -o \
|
|
-name 'perllocal.pod' \) -delete
|
|
|
|
# Remove empty directories
|
|
find $PKG -depth -empty -delete
|
|
}
|
|
|