blob: 5a9fb08d4d4720e1d0da6b7e960249f0174df84c (
plain)
1 # Description: A system to store and display time-series data.
2 # URL: http://oss.oetiker.ch/rrdtool/index.en.html
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Younes Hafri, ycrux at club-internet dot fr
5 # Depends on: intltool libart_lgpl libcgi libgd pango tcl
6
7 name=rrdtool
8 version=1.4.5
9 release=1
10 source=(http://oss.oetiker.ch/rrdtool/pub/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14
15 ./configure \
16 --prefix=/usr \
17 --mandir=/usr/man \
18 --enable-shared \
19 --disable-static \
20 --enable-perl-site-install \
21 --enable-ruby-site-install
22
23 make
24 make DESTDIR=$PKG install
25
26 rm -r \
27 $PKG/usr/share/doc \
28 $PKG/usr/share/rrdtool/examples
29
30 # Remove perl crap
31 find $PKG \( \
32 -name '.packlist' -o \
33 -name '*.bs' -o \
34 -name 'perllocal.pod' \) -delete
35
36 # Remove empty directories
37 find $PKG -depth -empty -delete
38 }
|