wok-6.x annotate rrdtool/receipt @ rev 1489
Add usbip
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 05 11:55:15 2008 +0000 (2008-10-05) |
parents | |
children | 1b08b5e1e4dc |
rev | line source |
---|---|
pascal@1437 | 1 # SliTaz package receipt. |
pascal@1437 | 2 |
pascal@1437 | 3 PACKAGE="rrdtool" |
pascal@1437 | 4 VERSION="1.3.2" |
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" |
pascal@1437 | 11 DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango" |
pascal@1437 | 12 BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl" |
pascal@1437 | 13 |
pascal@1437 | 14 # Rules to configure and make the package. |
pascal@1437 | 15 compile_rules() |
pascal@1437 | 16 { |
pascal@1437 | 17 cd $src |
pascal@1437 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1437 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1437 | 20 make && |
pascal@1437 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1437 | 22 } |
pascal@1437 | 23 |
pascal@1437 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1437 | 25 genpkg_rules() |
pascal@1437 | 26 { |
pascal@1437 | 27 mkdir -p $fs/usr/lib |
pascal@1437 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1437 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@1437 | 30 # Package all rrdtool pkgs |
pascal@1437 | 31 for i in $(cd $WOK; ls -d rrdtool-*) |
pascal@1437 | 32 do |
pascal@1437 | 33 tazwok genpkg $i |
pascal@1437 | 34 done |
pascal@1437 | 35 } |
pascal@1437 | 36 |