wok annotate rrdtool/receipt @ rev 25135
updated phpfm (0.9.8 -> 1.7.9)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 10:56:29 2022 +0100 (2022-06-29) |
parents | 615a666d7811 |
children | b81ceff0b056 |
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@24425 | 21 # What is the latest version available today? |
pascal@24425 | 22 current_version() |
pascal@24425 | 23 { |
pascal@24425 | 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 25 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 26 } |
pascal@24425 | 27 |
pascal@1437 | 28 # Rules to configure and make the package. |
pascal@1437 | 29 compile_rules() |
pascal@1437 | 30 { |
pascal@21377 | 31 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lz" |
Hans-G?nter@23618 | 32 |
Hans-G?nter@23618 | 33 ./configure \ |
Hans-G?nter@23618 | 34 --prefix=/usr \ |
Hans-G?nter@23618 | 35 --infodir=/usr/share/info \ |
Hans-G?nter@23618 | 36 --enable-perl-site-install \ |
Hans-G?nter@23618 | 37 --mandir=/usr/share/man \ |
Hans-G?nter@23618 | 38 $CONFIGURE_ARGS && |
pascal@1437 | 39 make && |
pascal@13861 | 40 make DESTDIR=$DESTDIR install |
pascal@1437 | 41 } |
pascal@1437 | 42 |
pascal@1437 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1437 | 44 genpkg_rules() |
pascal@1437 | 45 { |
pascal@1437 | 46 mkdir -p $fs/usr/lib |
Hans-G?nter@23618 | 47 |
Hans-G?nter@23618 | 48 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@19820 | 49 # librrd_th.so has gone since librrd.so is thread safe |
Hans-G?nter@23618 | 50 ln -s librrd.so $fs/usr/lib/librrd_th.so |
Hans-G?nter@23618 | 51 cp -a $install/usr/bin $fs/usr |
pascal@1437 | 52 } |