wok-current view inotify-tools/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents 5ea0ce1cecc0
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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|Wshadow|Wno-error=shadow|' src/Makefile.am
29 ./autogen.sh &&
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 cook_copy_files *.so*
42 }