wok annotate iwatch/receipt @ rev 24721
updated libburn and libburn-dev (1.5.2 -> 1.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 09:33:23 2022 +0100 (2022-03-15) |
parents | 6377db28b7bf |
children | 00e3b45c063b |
rev | line source |
---|---|
pascal@17380 | 1 # SliTaz package receipt. |
pascal@17380 | 2 |
pascal@17380 | 3 PACKAGE="iwatch" |
Hans-G?nter@22966 | 4 VERSION="1.0.4" |
pascal@17380 | 5 CATEGORY="base-system" |
pascal@17380 | 6 SHORT_DESC="Realtime filesystem monitor." |
pascal@17380 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17380 | 8 LICENSE="GPL2" |
pascal@24308 | 9 WEB_SITE="https://github.com/iij/iwatch" |
pascal@17380 | 10 |
Hans-G?nter@22966 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22966 | 12 WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL" |
Hans-G?nter@22966 | 13 |
Hans-G?nter@22966 | 14 DEPENDS="perl-event perl-linux-inotify2 perl-mail-sendmail perl-xml-simple" |
Hans-G?nter@22966 | 15 BUILD_DEPENDS="ncurses-dev" |
Hans-G?nter@22966 | 16 |
pascal@24308 | 17 # What is the latest version available today? |
pascal@24308 | 18 current_version() |
pascal@24308 | 19 { |
pascal@24308 | 20 wget -O - $WEB_SITE/releases 2>/dev/null | \ |
pascal@24308 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 22 } |
pascal@24308 | 23 |
Hans-G?nter@22966 | 24 # Rules to configure and make the package. |
Hans-G?nter@22966 | 25 compile_rules() |
Hans-G?nter@22966 | 26 { |
Hans-G?nter@22966 | 27 ./configure \ |
Hans-G?nter@22966 | 28 --prefix=/usr \ |
Hans-G?nter@22966 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@22966 | 30 make && |
Hans-G?nter@22966 | 31 make DESTDIR=$DESTDIR install |
pascal@22971 | 32 } |
pascal@17380 | 33 |
pascal@17380 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17380 | 35 genpkg_rules() |
pascal@17380 | 36 { |
Hans-G?nter@22966 | 37 mkdir -p $fs/usr |
Hans-G?nter@22966 | 38 cp -a $install/usr/bin $fs/usr |
pascal@17380 | 39 } |