wok view inotify-tools/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 5ea0ce1cecc0
children 20ad21d5532c
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 }