wok view rrdtool/receipt @ rev 25701

Up xcursor-comix (0.10.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 29 11:38:51 2024 +0000 (5 months ago)
parents 453c249b6219
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rrdtool"
4 VERSION="1.7.2"
5 CATEGORY="misc"
6 TAGS="logs"
7 SHORT_DESC="Data logging and graphing system for time series data."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://oss.oetiker.ch/rrdtool/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}pub/$TARBALL"
15 DEPENDS="cairo fontconfig freetype glib libpng libwrap libxml2 pango pixman
16 xcb-util xorg-base-fonts zlib"
17 BUILD_DEPENDS="cairo-dev fontconfig-dev freetype-dev glib-dev groff
18 libpng-dev libwrap-dev libxml2-dev lua-dev pango-dev perl pixman-dev
19 pkg-config python-dev python-setuptools ruby tcl-dev zlib-dev"
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 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lz"
33 ./configure \
34 --prefix=/usr \
35 --infodir=/usr/share/info \
36 --enable-perl-site-install \
37 --mandir=/usr/share/man \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 # librrd_th.so has gone since librrd.so is thread safe
50 ln -s librrd.so $fs/usr/lib/librrd_th.so
51 cp -a $install/usr/bin $fs/usr
52 }