wok-current annotate inotify-tools/receipt @ rev 25289
Up perl-file-listing (6.15)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 19 07:52:15 2022 +0000 (2022-07-19) |
parents | 5ea0ce1cecc0 |
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@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pankso@15851 | 24 # Rules to configure and make the package. |
pankso@15851 | 25 compile_rules() |
pankso@15851 | 26 { |
Hans-G?nter@24667 | 27 sed -i 's|Wshadow|Wno-error=shadow|' src/Makefile.am |
Hans-G?nter@24667 | 28 |
Hans-G?nter@22949 | 29 ./autogen.sh && |
Hans-G?nter@22949 | 30 ./configure \ |
Hans-G?nter@22949 | 31 --prefix=/usr \ |
Hans-G?nter@22949 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@22949 | 33 make && |
Hans-G?nter@22949 | 34 make install |
pankso@15851 | 35 } |
pankso@15851 | 36 |
pankso@15851 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15851 | 38 genpkg_rules() |
pankso@15851 | 39 { |
Hans-G?nter@24667 | 40 cook_copy_folders bin |
Hans-G?nter@24667 | 41 cook_copy_files *.so* |
pankso@15851 | 42 } |