wok view iwatch/receipt @ rev 25112
updated patchelf (0.10 -> 0.14.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 25 15:14:46 2022 +0100 (2022-06-25) |
parents | b569b85b0fb9 |
children | 20ad21d5532c |
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 }