wok view rrdtool/receipt @ rev 13410

Add: check+
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Oct 01 01:39:13 2012 +0200 (2012-10-01)
parents fbb96c849931
children 5c5a1e85aa9c
line source
1 # SliTaz package receipt.
3 PACKAGE="rrdtool"
4 VERSION="1.4.6"
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"
12 DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango \
13 xcb-util xorg-base-fonts libwrap"
14 BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev \
15 fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl groff \
16 libwrap-dev tcl-dev lua-dev ruby"
17 TAGS="logs"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's/PL_sv_undef sv_undef/PL_sv_undef PL_sv_undef/' bindings/perl-shared/RRDs.xs
24 ./configure --prefix=/usr --infodir=/usr/share/info \
25 --enable-perl-site-install \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 }