wok-current view rrdtool-lite/receipt @ rev 24809

created recipes for libmypaint, libmypaint-dev and libmypaint-lang
author Hans-G?nter Theisgen
date Tue Mar 22 16:52:59 2022 +0100 (2022-03-22)
parents 453c249b6219
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rrdtool-lite"
4 VERSION="1.7.2"
5 CATEGORY="misc"
6 TAGS="logs"
7 SHORT_DESC="Data logging system for time series data."
8 LICENSE="GPL2"
9 MAINTAINER="pascal.bellard@slitaz.org"
10 WEB_SITE="https://oss.oetiker.ch/rrdtool/"
12 SOURCE="rrdtool"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="${WEB_SITE}pub/$TARBALL"
16 DEPENDS="glib libxml2 zlib"
17 BUILD_DEPENDS="glib-dev groff libxml2-dev pkg-config"
19 HOST_ARCH="i486 arm"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
25 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --disable-rrdcgi \
35 --disable-rrd_graph \
36 --disable-nls \
37 --disable-libdbi \
38 --disable-libwrap \
39 --disable-perl \
40 --disable-ruby \
41 --disable-lua \
42 --disable-tcl \
43 --disable-python \
44 --mandir=/usr/share/man \
45 $CONFIGURE_ARGS &&
46 make &&
47 make DESTDIR=$DESTDIR install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib
55 cp -a $install/usr/lib/*.so* $fs/usr/lib
56 cp -a $install/usr/bin $fs/usr
57 }