wok-current annotate rrdtool/receipt @ rev 13359
Add opus
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 12 10:35:23 2012 +0200 (2012-09-12) |
parents | fbb96c849931 |
children | 5c5a1e85aa9c |
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@1437 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1437 | 9 WEB_SITE="http://oss.oetiker.ch/$PACKAGE" |
pascal@1437 | 10 WGET_URL="$WEB_SITE/pub/$TARBALL" |
pankso@12226 | 11 |
pascal@5006 | 12 DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango \ |
pankso@12226 | 13 xcb-util xorg-base-fonts libwrap" |
pascal@10584 | 14 BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev \ |
pascal@11603 | 15 fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl groff \ |
pascal@11603 | 16 libwrap-dev tcl-dev lua-dev ruby" |
jozee@4972 | 17 TAGS="logs" |
pascal@1437 | 18 |
pascal@1437 | 19 # Rules to configure and make the package. |
pascal@1437 | 20 compile_rules() |
pascal@1437 | 21 { |
pascal@1437 | 22 cd $src |
pascal@11603 | 23 sed -i 's/PL_sv_undef sv_undef/PL_sv_undef PL_sv_undef/' bindings/perl-shared/RRDs.xs |
pascal@1437 | 24 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@3236 | 25 --enable-perl-site-install \ |
pascal@1437 | 26 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1437 | 27 make && |
pascal@1437 | 28 make DESTDIR=$PWD/_pkg install |
pascal@1437 | 29 } |
pascal@1437 | 30 |
pascal@1437 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1437 | 32 genpkg_rules() |
pascal@1437 | 33 { |
pascal@1437 | 34 mkdir -p $fs/usr/lib |
pascal@1437 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1437 | 36 cp -a $_pkg/usr/bin $fs/usr |
pascal@1437 | 37 } |
pascal@1437 | 38 |