wok annotate inotify-tools/receipt @ rev 25599

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 13:38:12 2023 +0000 (10 months ago)
parents 7f162a2d0d51
children
rev   line source
pankso@15851 1 # SliTaz package receipt.
pankso@15851 2
pankso@15851 3 PACKAGE="inotify-tools"
Hans-G?nter@24667 4 VERSION="3.22.1.0"
pankso@15851 5 CATEGORY="system-tools"
Hans-G?nter@24667 6 TAGS="notify"
pankso@15851 7 SHORT_DESC="Set of programs providing a simple interface to inotify."
pankso@15851 8 MAINTAINER="pankso@slitaz.org"
pankso@15851 9 LICENSE="GPL"
Hans-G?nter@22949 10 WEB_SITE="https://github.com/rvoicilas/inotify-tools/wiki"
Hans-G?nter@22949 11
pankso@15851 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22951 13 WGET_URL="https://github.com/rvoicilas/$PACKAGE/archive/$VERSION.tar.gz"
pankso@15851 14
pankso@15851 15 DEPENDS=""
Hans-G?nter@22949 16 BUILD_DEPENDS="autoconf automake cmake file libtool"
pankso@15851 17
pascal@25599 18 # What is the latest version available today?
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25599 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 23 }
pascal@24055 24
pankso@15851 25 # Rules to configure and make the package.
pankso@15851 26 compile_rules()
pankso@15851 27 {
Hans-G?nter@24667 28 sed -i 's|Wshadow|Wno-error=shadow|' src/Makefile.am
Hans-G?nter@24667 29
Hans-G?nter@22949 30 ./autogen.sh &&
Hans-G?nter@22949 31 ./configure \
Hans-G?nter@22949 32 --prefix=/usr \
Hans-G?nter@22949 33 $CONFIGURE_ARGS &&
Hans-G?nter@22949 34 make &&
Hans-G?nter@22949 35 make install
pankso@15851 36 }
pankso@15851 37
pankso@15851 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15851 39 genpkg_rules()
pankso@15851 40 {
Hans-G?nter@24667 41 cook_copy_folders bin
Hans-G?nter@24667 42 cook_copy_files *.so*
pankso@15851 43 }