wok view rrdtool-lite/receipt @ rev 24556
updated flatpress (0.1010.2 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 14:05:00 2022 +0100 (2022-02-25) |
parents | 615a666d7811 |
children | 59547e97954f |
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 MAINTAINER="pascal.bellard@slitaz.org"
9 WEB_SITE="https://oss.oetiker.ch/rrdtool/"
11 SOURCE="rrdtool"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}pub/$TARBALL"
15 DEPENDS="glib libxml2 zlib"
16 BUILD_DEPENDS="glib-dev groff libxml2-dev pkg-config"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --disable-rrdcgi \
34 --disable-rrd_graph \
35 --disable-nls \
36 --disable-libdbi \
37 --disable-libwrap \
38 --disable-perl \
39 --disable-ruby \
40 --disable-lua \
41 --disable-tcl \
42 --disable-python \
43 --mandir=/usr/share/man \
44 $CONFIGURE_ARGS &&
45 make &&
46 make DESTDIR=$DESTDIR install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib
54 cp -a $install/usr/lib/*.so* $fs/usr/lib
55 cp -a $install/usr/bin $fs/usr
56 }