wok-6.x annotate incron/receipt @ rev 25544

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