wok-6.x annotate rrdtool-lite/receipt @ rev 19081
Add rrdtool-lite
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 29 12:53:30 2016 +0200 (2016-04-29) |
parents | |
children | 881c653f2f8c |
rev | line source |
---|---|
pascal@19081 | 1 # SliTaz package receipt. |
pascal@19081 | 2 |
pascal@19081 | 3 PACKAGE="rrdtool-lite" |
pascal@19081 | 4 SOURCE="rrdtool" |
pascal@19081 | 5 VERSION="1.4.6" |
pascal@19081 | 6 CATEGORY="misc" |
pascal@19081 | 7 SHORT_DESC="Data logging system for time series data." |
pascal@19081 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19081 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@19081 | 10 WEB_SITE="http://oss.oetiker.ch/$SOURCE" |
pascal@19081 | 11 WGET_URL="$WEB_SITE/pub/$TARBALL" |
pascal@19081 | 12 |
pascal@19081 | 13 DEPENDS="zlib glib libxml2" |
pascal@19081 | 14 BUILD_DEPENDS="pkg-config libxml2-dev glib-dev groff" |
pascal@19081 | 15 TAGS="logs" |
pascal@19081 | 16 |
pascal@19081 | 17 # Rules to configure and make the package. |
pascal@19081 | 18 compile_rules() |
pascal@19081 | 19 { |
pascal@19081 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@19081 | 21 --disable-rrdcgi \ |
pascal@19081 | 22 --disable-rrd_graph \ |
pascal@19081 | 23 --disable-nls \ |
pascal@19081 | 24 --disable-libdbi \ |
pascal@19081 | 25 --disable-libwrap \ |
pascal@19081 | 26 --disable-perl \ |
pascal@19081 | 27 --disable-ruby \ |
pascal@19081 | 28 --disable-lua \ |
pascal@19081 | 29 --disable-tcl \ |
pascal@19081 | 30 --disable-python \ |
pascal@19081 | 31 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@19081 | 32 make && |
pascal@19081 | 33 make DESTDIR=$DESTDIR install |
pascal@19081 | 34 } |
pascal@19081 | 35 |
pascal@19081 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19081 | 37 genpkg_rules() |
pascal@19081 | 38 { |
pascal@19081 | 39 mkdir -p $fs/usr/lib |
pascal@19081 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@19081 | 41 cp -a $install/usr/bin $fs/usr |
pascal@19081 | 42 } |