wok-next diff rrdtool/receipt @ rev 2272
squirrelmail-shared_calendars: fix src path (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 12:19:36 2009 +0000 (2009-02-18) |
parents | |
children | 1b08b5e1e4dc |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rrdtool/receipt Wed Feb 18 12:19:36 2009 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rrdtool" 1.7 +VERSION="1.3.2" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Data logging and graphing system for time series data." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://oss.oetiker.ch/$PACKAGE" 1.13 +WGET_URL="$WEB_SITE/pub/$TARBALL" 1.14 +DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango" 1.15 +BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.22 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.23 + make && 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/lib 1.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.32 + cp -a $_pkg/usr/bin $fs/usr 1.33 + # Package all rrdtool pkgs 1.34 + for i in $(cd $WOK; ls -d rrdtool-*) 1.35 + do 1.36 + tazwok genpkg $i 1.37 + done 1.38 +} 1.39 +