wok-current view incron/receipt @ rev 24665

updated incron (0.5.10 -> 0.5.12)
author Hans-G?nter Theisgen
date Fri Mar 11 14:57:00 2022 +0100 (2022-03-11)
parents 83b97236db32
children
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 }