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