wok-6.x annotate rrdtool/receipt @ rev 24049

Up openvpn (2.5.2), openssh (8.6p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 10 20:32:02 2021 +0000 (2021-05-10)
parents c5bb6b8ba595
children 453c249b6219
rev   line source
pascal@1437 1 # SliTaz package receipt.
pascal@1437 2
pascal@1437 3 PACKAGE="rrdtool"
Hans-G?nter@23618 4 VERSION="1.7.2"
pascal@1437 5 CATEGORY="misc"
Hans-G?nter@23618 6 TAGS="logs"
pascal@1437 7 SHORT_DESC="Data logging and graphing system for time series data."
pascal@1437 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 9 LICENSE="GPL2"
Hans-G?nter@23618 10 WEB_SITE="https://oss.oetiker.ch/rrdtool/"
Hans-G?nter@23618 11
pascal@1437 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23618 13 WGET_URL="${WEB_SITE}pub/$TARBALL"
pankso@12226 14
Hans-G?nter@23618 15 DEPENDS="cairo fontconfig freetype glib libpng libwrap libxml2 pango pixman
Hans-G?nter@23618 16 xcb-util xorg-base-fonts zlib"
Hans-G?nter@23618 17 BUILD_DEPENDS="cairo-dev fontconfig-dev freetype-dev glib-dev groff
Hans-G?nter@23618 18 libpng-dev libwrap-dev libxml2-dev lua-dev pango-dev perl pixman-dev
Hans-G?nter@23618 19 pkg-config python-dev python-setuptools ruby tcl-dev zlib-dev"
pascal@1437 20
pascal@1437 21 # Rules to configure and make the package.
pascal@1437 22 compile_rules()
pascal@1437 23 {
pascal@21377 24 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lz"
Hans-G?nter@23618 25
Hans-G?nter@23618 26 ./configure \
Hans-G?nter@23618 27 --prefix=/usr \
Hans-G?nter@23618 28 --infodir=/usr/share/info \
Hans-G?nter@23618 29 --enable-perl-site-install \
Hans-G?nter@23618 30 --mandir=/usr/share/man \
Hans-G?nter@23618 31 $CONFIGURE_ARGS &&
pascal@1437 32 make &&
pascal@13861 33 make DESTDIR=$DESTDIR install
pascal@1437 34 }
pascal@1437 35
pascal@1437 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1437 37 genpkg_rules()
pascal@1437 38 {
pascal@1437 39 mkdir -p $fs/usr/lib
Hans-G?nter@23618 40
Hans-G?nter@23618 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@19820 42 # librrd_th.so has gone since librrd.so is thread safe
Hans-G?nter@23618 43 ln -s librrd.so $fs/usr/lib/librrd_th.so
Hans-G?nter@23618 44 cp -a $install/usr/bin $fs/usr
pascal@1437 45 }