2006-11-30 20:23:23 +11:00
|
|
|
# Description: A system to store and display time-series data.
|
|
|
|
# URL: http://oss.oetiker.ch/rrdtool/index.en.html
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2006-11-30 20:23:23 +11:00
|
|
|
# Packager: Younes Hafri, ycrux at club-internet dot fr
|
2011-05-13 00:40:21 +10:00
|
|
|
# Depends on: intltool libart_lgpl libcgi libgd pango tcl
|
2006-11-30 20:23:23 +11:00
|
|
|
|
|
|
|
name=rrdtool
|
2014-08-29 19:35:11 +10:00
|
|
|
version=1.4.8
|
2006-11-30 20:23:23 +11:00
|
|
|
release=1
|
2014-08-29 19:35:11 +10:00
|
|
|
source=(http://oss.oetiker.ch/rrdtool/pub/$name-$version.tar.gz
|
|
|
|
rrdtool-pangofont.patch)
|
2006-11-30 20:23:23 +11:00
|
|
|
|
|
|
|
build() {
|
2010-12-28 13:09:21 +11:00
|
|
|
cd $name-$version
|
2006-11-30 20:23:23 +11:00
|
|
|
|
2014-08-29 19:35:11 +10:00
|
|
|
patch -p1 -i $SRC/rrdtool-pangofont.patch
|
|
|
|
|
2006-11-30 20:23:23 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2007-11-15 04:11:14 +11:00
|
|
|
--mandir=/usr/man \
|
2006-11-30 20:23:23 +11:00
|
|
|
--enable-shared \
|
2007-05-21 23:28:53 +10:00
|
|
|
--enable-perl-site-install \
|
2014-08-29 19:35:11 +10:00
|
|
|
--enable-ruby-site-install \
|
|
|
|
--disable-libwrap
|
2006-11-30 20:23:23 +11:00
|
|
|
|
2014-08-29 19:35:11 +10:00
|
|
|
make LIBS+="-lglib-2.0"
|
2007-05-21 23:28:53 +10:00
|
|
|
make DESTDIR=$PKG install
|
2006-11-30 20:23:23 +11:00
|
|
|
|
|
|
|
rm -r \
|
|
|
|
$PKG/usr/share/doc \
|
|
|
|
$PKG/usr/share/rrdtool/examples
|
2007-05-21 23:28:53 +10:00
|
|
|
|
2007-11-15 04:11:14 +11:00
|
|
|
# Remove perl crap
|
2008-07-25 20:58:15 +10:00
|
|
|
find $PKG \( \
|
|
|
|
-name '.packlist' -o \
|
2007-11-15 04:11:14 +11:00
|
|
|
-name '*.bs' -o \
|
2007-05-21 23:28:53 +10:00
|
|
|
-name 'perllocal.pod' \) -delete
|
|
|
|
|
|
|
|
# Remove empty directories
|
|
|
|
find $PKG -depth -empty -delete
|
2006-11-30 20:23:23 +11:00
|
|
|
}
|
|
|
|
|