wok-6.x view rrdtool/receipt @ rev 7632

*-pam: reinstall core package in pre_remove()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 13 12:44:48 2010 +0100 (2010-12-13)
parents ae97a9aa5f66
children 1a57fb89843e
line source
1 # SliTaz package receipt.
3 PACKAGE="rrdtool"
4 VERSION="1.4.4"
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 }