wok-6.x view iwatch/receipt @ rev 25465
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 01 08:33:11 2022 +0000 (2022-10-01) |
parents | b569b85b0fb9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="iwatch"
4 VERSION="1.0.4"
5 CATEGORY="base-system"
6 SHORT_DESC="Realtime filesystem monitor."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/iij/iwatch"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}/archive/v$VERSION/$TARBALL"
14 DEPENDS="perl-event perl-linux-inotify2 perl-mail-sendmail perl-xml-simple"
15 BUILD_DEPENDS="ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }