wok-current view rrdtool/receipt @ rev 24203
updated perl-exporter-tiny (1.002001 -> 1.002002)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:25:57 2021 +0100 (2021-12-31) |
parents | c5bb6b8ba595 |
children | 453c249b6219 |
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 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lz"
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --enable-perl-site-install \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 # librrd_th.so has gone since librrd.so is thread safe
43 ln -s librrd.so $fs/usr/lib/librrd_th.so
44 cp -a $install/usr/bin $fs/usr
45 }