wok view incron/receipt @ rev 25577

Up nimrod (1.6.12) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 18:02:59 2023 +0000 (18 months ago)
parents 83b97236db32
children 5db546345599
line source
1 # SliTaz package receipt.
3 PACKAGE="incron"
4 VERSION="0.5.12"
5 CATEGORY="base-system"
6 SHORT_DESC="The inotify cron handles filesystem events."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://inotify.aiken.cz/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/ar-/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
14 CONFIG_FILES="/etc/incron.d"
16 DEPENDS=""
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/doc/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|/usr/local|/usr|' Makefile
29 make &&
30 make install DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 cook_copy_folders etc
38 cook_copy_folders sbin
39 cook_copy_folders var
40 }