wok-current view rrdtool/receipt @ rev 3663
Up libxslt (1.1.24)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 09 10:09:21 2009 +0200 (2009-07-09) |
parents | 654173820657 |
children | 8be66f03fbd2 |
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 --enable-perl-site-install \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 # Package all rrdtool pkgs
32 for i in $(cd $WOK; ls -d rrdtool-*)
33 do
34 tazwok genpkg $i
35 done
36 }