wok-stable view rrdtool/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents fbb96c849931
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rrdtool"
4 VERSION="1.4.6"
5 CATEGORY="misc"
6 SHORT_DESC="Data logging and graphing system for time series data."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://oss.oetiker.ch/$PACKAGE"
10 WGET_URL="$WEB_SITE/pub/$TARBALL"
12 DEPENDS="zlib freetype libpng libxml2 fontconfig pixman cairo glib pango \
13 xcb-util xorg-base-fonts libwrap"
14 BUILD_DEPENDS="perl pkg-config zlib-dev freetype-dev libpng-dev libxml2-dev \
15 fontconfig-dev pixman-dev cairo-dev glib-dev pango-dev python-dev perl groff \
16 libwrap-dev tcl-dev lua-dev ruby"
17 TAGS="logs"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's/PL_sv_undef sv_undef/PL_sv_undef PL_sv_undef/' bindings/perl-shared/RRDs.xs
24 ./configure --prefix=/usr --infodir=/usr/share/info \
25 --enable-perl-site-install \
26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 }