wok annotate rrdtool/receipt @ rev 10763
hatenarunner: mkdir $src
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 31 12:16:34 2011 +0200 (2011-05-31) |
parents | 1a57fb89843e |
children | 6ece638b3ddb |
rev | line source |
---|---|
pascal@1437 | 1 # SliTaz package receipt. |
pascal@1437 | 2 |
pascal@1437 | 3 PACKAGE="rrdtool" |
slaxemulator@7884 | 4 VERSION="1.4.5" |
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@5006 | 11 DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango \ |
pascal@5026 | 12 xcb-util xorg-base-fonts" |
pascal@10584 | 13 BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev \ |
pascal@10584 | 14 fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl nroff" |
jozee@4972 | 15 TAGS="logs" |
pascal@1437 | 16 |
pascal@1437 | 17 # Rules to configure and make the package. |
pascal@1437 | 18 compile_rules() |
pascal@1437 | 19 { |
pascal@1437 | 20 cd $src |
pascal@1437 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@3236 | 22 --enable-perl-site-install \ |
pascal@1437 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1437 | 24 make && |
pascal@1437 | 25 make DESTDIR=$PWD/_pkg install |
pascal@1437 | 26 } |
pascal@1437 | 27 |
pascal@1437 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1437 | 29 genpkg_rules() |
pascal@1437 | 30 { |
pascal@1437 | 31 mkdir -p $fs/usr/lib |
pascal@1437 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1437 | 33 cp -a $_pkg/usr/bin $fs/usr |
pascal@1437 | 34 } |
pascal@1437 | 35 |