wok view rrdtool-lite/receipt @ rev 25608

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 09:05:42 2023 +0000 (10 months ago)
parents 59547e97954f
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 - https://github.com/oetiker/rrdtool-1.x/tags 2>/dev/null | \
25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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 }