wok-6.x view rrdtool/receipt @ rev 12158
Up slitaz-tools (4.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 17 16:12:20 2012 +0100 (2012-03-17) |
parents | 6ece638b3ddb |
children | fad852c4aabe |
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"
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 \
14 fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl groff \
15 libwrap-dev tcl-dev lua-dev ruby"
16 TAGS="logs"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/PL_sv_undef sv_undef/PL_sv_undef PL_sv_undef/' bindings/perl-shared/RRDs.xs
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --enable-perl-site-install \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/bin $fs/usr
36 }