wok annotate rrdtool-lite/receipt @ rev 24556
updated flatpress (0.1010.2 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 14:05:00 2022 +0100 (2022-02-25) |
parents | 615a666d7811 |
children | 59547e97954f |
rev | line source |
---|---|
pascal@19081 | 1 # SliTaz package receipt. |
pascal@19081 | 2 |
pascal@19081 | 3 PACKAGE="rrdtool-lite" |
Hans-G?nter@23618 | 4 VERSION="1.7.2" |
pascal@19081 | 5 CATEGORY="misc" |
Hans-G?nter@23618 | 6 TAGS="logs" |
pascal@19081 | 7 SHORT_DESC="Data logging system for time series data." |
pascal@19081 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
Hans-G?nter@23618 | 9 WEB_SITE="https://oss.oetiker.ch/rrdtool/" |
Hans-G?nter@23618 | 10 |
Hans-G?nter@23618 | 11 SOURCE="rrdtool" |
pascal@19081 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23618 | 13 WGET_URL="${WEB_SITE}pub/$TARBALL" |
Hans-G?nter@23618 | 14 |
Hans-G?nter@23618 | 15 DEPENDS="glib libxml2 zlib" |
Hans-G?nter@23618 | 16 BUILD_DEPENDS="glib-dev groff libxml2-dev pkg-config" |
Hans-G?nter@23618 | 17 |
pascal@19088 | 18 HOST_ARCH="i486 arm" |
pascal@19081 | 19 |
pascal@24425 | 20 # What is the latest version available today? |
pascal@24425 | 21 current_version() |
pascal@24425 | 22 { |
pascal@24425 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 24 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 25 } |
pascal@24425 | 26 |
pascal@19081 | 27 # Rules to configure and make the package. |
pascal@19081 | 28 compile_rules() |
pascal@19081 | 29 { |
Hans-G?nter@23618 | 30 ./configure \ |
Hans-G?nter@23618 | 31 --prefix=/usr \ |
Hans-G?nter@23618 | 32 --infodir=/usr/share/info \ |
Hans-G?nter@23618 | 33 --disable-rrdcgi \ |
Hans-G?nter@23618 | 34 --disable-rrd_graph \ |
Hans-G?nter@23618 | 35 --disable-nls \ |
Hans-G?nter@23618 | 36 --disable-libdbi \ |
Hans-G?nter@23618 | 37 --disable-libwrap \ |
Hans-G?nter@23618 | 38 --disable-perl \ |
Hans-G?nter@23618 | 39 --disable-ruby \ |
Hans-G?nter@23618 | 40 --disable-lua \ |
Hans-G?nter@23618 | 41 --disable-tcl \ |
Hans-G?nter@23618 | 42 --disable-python \ |
Hans-G?nter@23618 | 43 --mandir=/usr/share/man \ |
Hans-G?nter@23618 | 44 $CONFIGURE_ARGS && |
pascal@19081 | 45 make && |
pascal@19081 | 46 make DESTDIR=$DESTDIR install |
pascal@19081 | 47 } |
pascal@19081 | 48 |
pascal@19081 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19081 | 50 genpkg_rules() |
pascal@19081 | 51 { |
pascal@19081 | 52 mkdir -p $fs/usr/lib |
Hans-G?nter@23618 | 53 |
Hans-G?nter@23618 | 54 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@23618 | 55 cp -a $install/usr/bin $fs/usr |
pascal@19081 | 56 } |