wok view rrdtool/receipt @ rev 21752
tazboot: shrink (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 15 22:12:18 2019 +0200 (2019-06-15) |
parents | 477bd44d74aa |
children | 615a666d7811 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rrdtool"
4 VERSION="1.6.0"
5 CATEGORY="misc"
6 SHORT_DESC="Data logging and graphing system for time series data."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://oss.oetiker.ch/$PACKAGE"
11 WGET_URL="$WEB_SITE/pub/$TARBALL"
13 DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango \
14 xcb-util xorg-base-fonts libwrap"
15 BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev \
16 fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl groff \
17 libwrap-dev tcl-dev lua-dev ruby"
18 TAGS="logs"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lz"
24 ./configure --prefix=/usr \
25 --infodir=/usr/share/info \
26 --enable-perl-site-install \
27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 # librrd_th.so has gone since librrd.so is thread safe
38 ln -s librrd.so $fs/usr/lib/librrd_th.so
39 cp -a $install/usr/bin $fs/usr
40 }