# HG changeset patch # User Pascal Bellard # Date 1222860627 0 # Node ID 654173820657a754e116806618902a630f69265c # Parent e58706fa0b9d1b0e2e16cc2e2deb827493b58ad2 Add rrdtool diff -r e58706fa0b9d -r 654173820657 rrdtool-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rrdtool-dev/receipt Wed Oct 01 11:30:27 2008 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="rrdtool-dev" +VERSION="1.3.2" +CATEGORY="development" +SHORT_DESC="Data logging and graphing system for time series data, development file." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://oss.oetiker.ch/$PACKAGE" +WANTED="rrdtool" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.a $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} + diff -r e58706fa0b9d -r 654173820657 rrdtool-doc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rrdtool-doc/receipt Wed Oct 01 11:30:27 2008 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="rrdtool-doc" +VERSION="1.3.2" +CATEGORY="development" +SHORT_DESC="Data logging and graphing system for time series data." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://oss.oetiker.ch/$PACKAGE" +WANTED="rrdtool" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/share/rrdtool $fs/usr/share + cp -a $_pkg/usr/share/doc $fs/usr/share +} + diff -r e58706fa0b9d -r 654173820657 rrdtool-man/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rrdtool-man/receipt Wed Oct 01 11:30:27 2008 +0000 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="rrdtool-man" +VERSION="1.3.2" +CATEGORY="development" +SHORT_DESC="Data logging and graphing system for time series data." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://oss.oetiker.ch/$PACKAGE" +WANTED="rrdtool" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/share/man $fs/usr/share +} + diff -r e58706fa0b9d -r 654173820657 rrdtool-perl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rrdtool-perl/receipt Wed Oct 01 11:30:27 2008 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="rrdtool-perl" +VERSION="1.3.2" +CATEGORY="development" +SHORT_DESC="Perl bindings for rrdtool." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://oss.oetiker.ch/$PACKAGE" +DEPENDS="perl rrdtool" +WANTED="rrdtool" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/perl $fs/usr/lib +} + diff -r e58706fa0b9d -r 654173820657 rrdtool-python/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rrdtool-python/receipt Wed Oct 01 11:30:27 2008 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="rrdtool-python" +VERSION="1.3.2" +CATEGORY="development" +SHORT_DESC="Python bindings for rrdtool." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://oss.oetiker.ch/$PACKAGE" +DEPENDS="python rrdtool" +WANTED="rrdtool" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib +} + diff -r e58706fa0b9d -r 654173820657 rrdtool/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rrdtool/receipt Wed Oct 01 11:30:27 2008 +0000 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="rrdtool" +VERSION="1.3.2" +CATEGORY="misc" +SHORT_DESC="Data logging and graphing system for time series data." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://oss.oetiker.ch/$PACKAGE" +WGET_URL="$WEB_SITE/pub/$TARBALL" +DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango" +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" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + # Package all rrdtool pkgs + for i in $(cd $WOK; ls -d rrdtool-*) + do + tazwok genpkg $i + done +} +