wok-stable view rrdtool/receipt @ rev 6052

libproxy: fix compile_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 17 14:28:38 2010 +0200 (2010-08-17)
parents 1707e54fb4cf
children ae97a9aa5f66
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 xcb-util xorg-base-fonts"
13 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 TAGS="logs"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --enable-perl-site-install \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 # Package all rrdtool pkgs
34 for i in $(cd $WOK; ls -d rrdtool-*)
35 do
36 tazwok genpkg $i
37 done
38 }