wok-current annotate rrdtool/receipt @ rev 16212
weston: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 31 12:57:26 2014 +0000 (2014-03-31) |
parents | 5c5a1e85aa9c |
children | 17e313b5b9c1 |
rev | line source |
---|---|
pascal@1437 | 1 # SliTaz package receipt. |
pascal@1437 | 2 |
pascal@1437 | 3 PACKAGE="rrdtool" |
pascal@11603 | 4 VERSION="1.4.6" |
pascal@1437 | 5 CATEGORY="misc" |
pascal@1437 | 6 SHORT_DESC="Data logging and graphing system for time series data." |
pascal@1437 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL2" |
pascal@1437 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1437 | 10 WEB_SITE="http://oss.oetiker.ch/$PACKAGE" |
pascal@1437 | 11 WGET_URL="$WEB_SITE/pub/$TARBALL" |
pankso@12226 | 12 |
pascal@5006 | 13 DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango \ |
pankso@12226 | 14 xcb-util xorg-base-fonts libwrap" |
pascal@10584 | 15 BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev \ |
pascal@11603 | 16 fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl groff \ |
pascal@13861 | 17 libwrap-dev tcl-dev lua5.1-dev ruby" |
jozee@4972 | 18 TAGS="logs" |
pascal@1437 | 19 |
pascal@1437 | 20 # Rules to configure and make the package. |
pascal@1437 | 21 compile_rules() |
pascal@1437 | 22 { |
pascal@1437 | 23 cd $src |
pascal@11603 | 24 sed -i 's/PL_sv_undef sv_undef/PL_sv_undef PL_sv_undef/' bindings/perl-shared/RRDs.xs |
pascal@13861 | 25 export LDFLAGS="-L/usr/lib/lua/5.1" |
pascal@13861 | 26 TOREMOVE="/usr/include/lua5.1" |
pascal@13861 | 27 ln -s lua/5.1 /usr/include/lua5.1 |
pascal@13861 | 28 for i in /usr/bin/lua /usr/bin/luac ; do |
pascal@13861 | 29 [ -e $i ] && continue |
pascal@13861 | 30 ln -s $(basename $i)5.1 $i |
pascal@13861 | 31 TOREMOVE="$TOREMOVE $i" |
pascal@13861 | 32 done |
pascal@1437 | 33 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@3236 | 34 --enable-perl-site-install \ |
pascal@1437 | 35 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1437 | 36 make && |
pascal@13861 | 37 make DESTDIR=$DESTDIR install |
pascal@13861 | 38 for i in $TOREMOVE ; do |
pascal@13861 | 39 rm -f $i |
pascal@13861 | 40 done |
pascal@1437 | 41 } |
pascal@1437 | 42 |
pascal@1437 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1437 | 44 genpkg_rules() |
pascal@1437 | 45 { |
pascal@1437 | 46 mkdir -p $fs/usr/lib |
pascal@13861 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13861 | 48 cp -a $install/usr/bin $fs/usr |
pascal@1437 | 49 } |
pascal@1437 | 50 |