summaryrefslogtreecommitdiff
path: root/rrdtool/Pkgfile
blob: 902c50660921586d00ed5afec6504408c35b735e (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: libart_lgpl libcgi libgd pango python tcl intltool
    6 
    7 name=rrdtool
    8 version=1.3.8
    9 release=1
   10 source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-$version.tar.gz)
   11 
   12 build() {
   13 	cd rrdtool-$version
   14 
   15 	./configure \
   16 		--prefix=/usr \
   17 		--mandir=/usr/man \
   18 		--enable-shared \
   19 		--disable-static \
   20 		--enable-local-libpng \
   21 		--enable-local-zlib \
   22 		--enable-perl-site-install \
   23 		--enable-ruby-site-install
   24 
   25 	make
   26 	make DESTDIR=$PKG install
   27 
   28 	rm -r \
   29 		$PKG/usr/share/doc \
   30 		$PKG/usr/share/rrdtool/examples
   31 
   32 	# Remove perl crap
   33 	find $PKG \( \
   34 		-name '.packlist' -o \
   35 		-name '*.bs' -o \
   36 		-name 'perllocal.pod' \) -delete
   37 
   38 	# Remove empty directories
   39 	find $PKG -depth -empty -delete
   40 }

Generated by cgit