wok-current view rrdtool/receipt @ rev 3157

Up: lemon (3.6.14.1)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 24 18:36:30 2009 +0200 (2009-05-24)
parents
children 1b08b5e1e4dc
line source
1 # SliTaz package receipt.
3 PACKAGE="rrdtool"
4 VERSION="1.3.2"
5 CATEGORY="misc"
6 SHORT_DESC="Data logging and graphing system for time series data."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://oss.oetiker.ch/$PACKAGE"
10 WGET_URL="$WEB_SITE/pub/$TARBALL"
11 DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango"
12 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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/bin $fs/usr
30 # Package all rrdtool pkgs
31 for i in $(cd $WOK; ls -d rrdtool-*)
32 do
33 tazwok genpkg $i
34 done
35 }