wok-6.x rev 1437

Add rrdtool
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 01 11:30:27 2008 +0000 (2008-10-01)
parents e58706fa0b9d
children 678071bbccce
files rrdtool-dev/receipt rrdtool-doc/receipt rrdtool-man/receipt rrdtool-perl/receipt rrdtool-python/receipt rrdtool/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rrdtool-dev/receipt	Wed Oct 01 11:30:27 2008 +0000
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rrdtool-dev"
     1.7 +VERSION="1.3.2"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Data logging and graphing system for time series data, development file."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://oss.oetiker.ch/$PACKAGE"
    1.12 +WANTED="rrdtool"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib
    1.18 +	cp -a $_pkg/usr/lib/*.a $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/include $fs/usr
    1.20 +}
    1.21 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/rrdtool-doc/receipt	Wed Oct 01 11:30:27 2008 +0000
     2.3 @@ -0,0 +1,18 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="rrdtool-doc"
     2.7 +VERSION="1.3.2"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Data logging and graphing system for time series data."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://oss.oetiker.ch/$PACKAGE"
    2.12 +WANTED="rrdtool"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	mkdir -p $fs/usr/share
    2.18 +	cp -a $_pkg/usr/share/rrdtool $fs/usr/share
    2.19 +	cp -a $_pkg/usr/share/doc $fs/usr/share
    2.20 +}
    2.21 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/rrdtool-man/receipt	Wed Oct 01 11:30:27 2008 +0000
     3.3 @@ -0,0 +1,17 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="rrdtool-man"
     3.7 +VERSION="1.3.2"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Data logging and graphing system for time series data."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +WEB_SITE="http://oss.oetiker.ch/$PACKAGE"
    3.12 +WANTED="rrdtool"
    3.13 +
    3.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.15 +genpkg_rules()
    3.16 +{
    3.17 +	mkdir -p $fs/usr/share
    3.18 +	cp -a $_pkg/usr/share/man $fs/usr/share
    3.19 +}
    3.20 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/rrdtool-perl/receipt	Wed Oct 01 11:30:27 2008 +0000
     4.3 @@ -0,0 +1,18 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="rrdtool-perl"
     4.7 +VERSION="1.3.2"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="Perl bindings for rrdtool."
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +WEB_SITE="http://oss.oetiker.ch/$PACKAGE"
    4.12 +DEPENDS="perl rrdtool"
    4.13 +WANTED="rrdtool"
    4.14 +
    4.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.16 +genpkg_rules()
    4.17 +{
    4.18 +	mkdir -p $fs/usr/lib
    4.19 +	cp -a $_pkg/usr/lib/perl $fs/usr/lib
    4.20 +}
    4.21 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/rrdtool-python/receipt	Wed Oct 01 11:30:27 2008 +0000
     5.3 @@ -0,0 +1,18 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="rrdtool-python"
     5.7 +VERSION="1.3.2"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Python bindings for rrdtool."
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +WEB_SITE="http://oss.oetiker.ch/$PACKAGE"
    5.12 +DEPENDS="python rrdtool"
    5.13 +WANTED="rrdtool"
    5.14 +
    5.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.16 +genpkg_rules()
    5.17 +{
    5.18 +	mkdir -p $fs/usr/lib
    5.19 +	cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib
    5.20 +}
    5.21 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/rrdtool/receipt	Wed Oct 01 11:30:27 2008 +0000
     6.3 @@ -0,0 +1,36 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="rrdtool"
     6.7 +VERSION="1.3.2"
     6.8 +CATEGORY="misc"
     6.9 +SHORT_DESC="Data logging and graphing system for time series data."
    6.10 +MAINTAINER="pascal.bellard@slitaz.org"
    6.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.12 +WEB_SITE="http://oss.oetiker.ch/$PACKAGE"
    6.13 +WGET_URL="$WEB_SITE/pub/$TARBALL"
    6.14 +DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango"
    6.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"
    6.16 +
    6.17 +# Rules to configure and make the package.
    6.18 +compile_rules()
    6.19 +{
    6.20 +	cd $src
    6.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    6.22 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    6.23 +	make &&
    6.24 +	make DESTDIR=$PWD/_pkg install
    6.25 +}
    6.26 +
    6.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.28 +genpkg_rules()
    6.29 +{
    6.30 +	mkdir -p $fs/usr/lib
    6.31 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    6.32 +	cp -a $_pkg/usr/bin $fs/usr
    6.33 +	# Package all rrdtool pkgs
    6.34 +	for i in $(cd $WOK; ls -d rrdtool-*)
    6.35 +	do
    6.36 +		tazwok genpkg $i
    6.37 +	done
    6.38 +}
    6.39 +