contrib/rrdtool/Pkgfile

40 lines
867 B
Plaintext
Raw Normal View History

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
2012-02-07 21:43:59 +11:00
version=1.4.7
2006-11-30 20:23:23 +11:00
release=1
2010-12-28 13:09:21 +11:00
source=(http://oss.oetiker.ch/rrdtool/pub/$name-$version.tar.gz)
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
./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-11-15 04:11:14 +11:00
--disable-static \
--enable-perl-site-install \
--enable-ruby-site-install
2006-11-30 20:23:23 +11:00
2007-03-07 02:18:07 +11:00
make
make DESTDIR=$PKG install
2006-11-30 20:23:23 +11:00
rm -r \
$PKG/usr/share/doc \
$PKG/usr/share/rrdtool/examples
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 \
-name 'perllocal.pod' \) -delete
# Remove empty directories
find $PKG -depth -empty -delete
2006-11-30 20:23:23 +11:00
}