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