wok view rrdtool/receipt @ rev 16503

Up: spk (1.4)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 03:14:13 2014 +0200 (2014-04-24)
parents 5c5a1e85aa9c
children 17e313b5b9c1
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://oss.oetiker.ch/$PACKAGE"
11 WGET_URL="$WEB_SITE/pub/$TARBALL"
13 DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango \
14 xcb-util xorg-base-fonts libwrap"
15 BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev \
16 fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl groff \
17 libwrap-dev tcl-dev lua5.1-dev ruby"
18 TAGS="logs"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i 's/PL_sv_undef sv_undef/PL_sv_undef PL_sv_undef/' bindings/perl-shared/RRDs.xs
25 export LDFLAGS="-L/usr/lib/lua/5.1"
26 TOREMOVE="/usr/include/lua5.1"
27 ln -s lua/5.1 /usr/include/lua5.1
28 for i in /usr/bin/lua /usr/bin/luac ; do
29 [ -e $i ] && continue
30 ln -s $(basename $i)5.1 $i
31 TOREMOVE="$TOREMOVE $i"
32 done
33 ./configure --prefix=/usr --infodir=/usr/share/info \
34 --enable-perl-site-install \
35 --mandir=/usr/share/man $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 for i in $TOREMOVE ; do
39 rm -f $i
40 done
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/bin $fs/usr
49 }