39 lines
811 B
Plaintext
39 lines
811 B
Plaintext
# Description: A system to store and display time-series data.
|
|
# URL: http://oss.oetiker.ch/rrdtool/index.en.html
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: intltool pango python-setuptools
|
|
|
|
name=rrdtool
|
|
version=1.7.1
|
|
release=1
|
|
source=(https://oss.oetiker.ch/rrdtool/pub/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-shared \
|
|
--enable-perl-site-install \
|
|
--enable-ruby-site-install \
|
|
--disable-libwrap \
|
|
--disable-rpath
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r \
|
|
$PKG/usr/share/doc \
|
|
$PKG/usr/share/locale \
|
|
$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
|
|
}
|