wok-current rev 22966
updated iwatch (0.2.2 -> 1.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 17:20:34 2020 +0100 (2020-02-28) |
parents | 8b407130ed91 |
children | 526684d23251 |
files | iwatch/receipt |
line diff
1.1 --- a/iwatch/receipt Fri Feb 28 17:08:39 2020 +0100 1.2 +++ b/iwatch/receipt Fri Feb 28 17:20:34 2020 +0100 1.3 @@ -1,20 +1,31 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="iwatch" 1.7 -VERSION="0.2.2" 1.8 +VERSION="1.0.4" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="Realtime filesystem monitor." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION.tgz" 1.14 -WEB_SITE="http://iwatch.sourceforge.net/" 1.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 +WEB_SITE="https://github.com/iij/iwatch/" 1.17 1.18 -DEPENDS="perl-linux-inotify2 perl-event perl-mail-sendmail perl-xml-simple" 1.19 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.20 +WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL" 1.21 + 1.22 +DEPENDS="perl-event perl-linux-inotify2 perl-mail-sendmail perl-xml-simple" 1.23 +BUILD_DEPENDS="ncurses-dev" 1.24 + 1.25 +# Rules to configure and make the package. 1.26 +compile_rules() 1.27 +{ 1.28 + ./configure \ 1.29 + --prefix=/usr \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && 1.32 + make DESTDIR=$DESTDIR install 1.33 1.34 # Rules to gen a SliTaz package suitable for Tazpkg. 1.35 genpkg_rules() 1.36 { 1.37 - mkdir -p $fs/usr/bin 1.38 - cp -a $src/iwatch $fs/usr/bin 1.39 + mkdir -p $fs/usr 1.40 + cp -a $install/usr/bin $fs/usr 1.41 }