wok-6.x view rrdtool/receipt @ rev 14549
thunderbird: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 22 22:18:37 2013 +0200 (2013-05-22) |
parents | fad852c4aabe |
children | 2d12ebd38be4 |
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 lua5.1-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 export LDFLAGS="-L/usr/lib/lua/5.1"
25 TOREMOVE="/usr/include/lua5.1"
26 ln -s lua/5.1 /usr/include/lua5.1
27 for i in /usr/bin/lua /usr/bin/luac ; do
28 [ -e $i ] && continue
29 ln -s $(basename $i)5.1 $i
30 TOREMOVE="$TOREMOVE $i"
31 done
32 ./configure --prefix=/usr --infodir=/usr/share/info \
33 --enable-perl-site-install \
34 --mandir=/usr/share/man $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 for i in $TOREMOVE ; do
38 rm -f $i
39 done
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 }