wok-current view rrdtool/receipt @ rev 5002

[h-k]*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 15:46:04 2010 +0100 (2010-02-28)
parents 1b08b5e1e4dc
children 1707e54fb4cf
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"
13 TAGS="logs"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --enable-perl-site-install \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 # Package all rrdtool pkgs
33 for i in $(cd $WOK; ls -d rrdtool-*)
34 do
35 tazwok genpkg $i
36 done
37 }