blob: 55900a099fedd3f120c616db27e9257b7738895d (
plain)
1 # Description: A system to store and display time-series data.
2 # URL: https://oss.oetiker.ch/rrdtool/index.en.html
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: intltool libxml2 pango python-setuptools
5
6 name=rrdtool
7 version=1.7.2
8 release=1
9 source=(https://oss.oetiker.ch/rrdtool/pub/$name-$version.tar.gz)
10
11 build() {
12 cd $name-$version
13
14 ./configure \
15 --prefix=/usr \
16 --enable-shared \
17 --enable-perl-site-install \
18 --enable-ruby-site-install \
19 --disable-libwrap \
20 --disable-rpath
21
22 make
23 make DESTDIR=$PKG install
24
25 rm -r \
26 $PKG/usr/share/doc \
27 $PKG/usr/share/locale \
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 }
|