wok annotate rrdtool-lite/receipt @ rev 20142

linld: tiny shrink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 11 10:57:19 2017 +0100 (2017-11-11)
parents 881c653f2f8c
children 615a666d7811
rev   line source
pascal@19081 1 # SliTaz package receipt.
pascal@19081 2
pascal@19081 3 PACKAGE="rrdtool-lite"
pascal@19081 4 SOURCE="rrdtool"
pascal@19741 5 VERSION="1.6.0"
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@19088 12 HOST_ARCH="i486 arm"
pascal@19081 13
pascal@19081 14 DEPENDS="zlib glib libxml2"
pascal@19081 15 BUILD_DEPENDS="pkg-config libxml2-dev glib-dev groff"
pascal@19081 16 TAGS="logs"
pascal@19081 17
pascal@19081 18 # Rules to configure and make the package.
pascal@19081 19 compile_rules()
pascal@19081 20 {
pascal@19081 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@19081 22 --disable-rrdcgi \
pascal@19081 23 --disable-rrd_graph \
pascal@19081 24 --disable-nls \
pascal@19081 25 --disable-libdbi \
pascal@19081 26 --disable-libwrap \
pascal@19081 27 --disable-perl \
pascal@19081 28 --disable-ruby \
pascal@19081 29 --disable-lua \
pascal@19081 30 --disable-tcl \
pascal@19081 31 --disable-python \
pascal@19081 32 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@19081 33 make &&
pascal@19081 34 make DESTDIR=$DESTDIR install
pascal@19081 35 }
pascal@19081 36
pascal@19081 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19081 38 genpkg_rules()
pascal@19081 39 {
pascal@19081 40 mkdir -p $fs/usr/lib
pascal@19081 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19081 42 cp -a $install/usr/bin $fs/usr
pascal@19081 43 }