40 lines
867 B
Plaintext
40 lines
867 B
Plaintext
# Description: A system to store and display time-series data.
|
|
# URL: http://oss.oetiker.ch/rrdtool/index.en.html
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Younes Hafri, ycrux at club-internet dot fr
|
|
# Depends on: intltool libart_lgpl libcgi libgd pango tcl
|
|
|
|
name=rrdtool
|
|
version=1.4.7
|
|
release=1
|
|
source=(http://oss.oetiker.ch/rrdtool/pub/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--enable-shared \
|
|
--disable-static \
|
|
--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
|
|
}
|
|
|