wok view rrdtool/receipt @ rev 23915
Add 2048
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 18 16:53:56 2020 +0000 (2020-08-18) |
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 }