wok annotate iwatch/receipt @ rev 25237
updated python-simplejson (3.17.0 -> 3.17.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:45:54 2022 +0100 (2022-07-13) |
parents | b569b85b0fb9 |
children | 20ad21d5532c |
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" |
pascal@24978 | 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 } |