wok annotate iwatch/receipt @ rev 25643

Fix mouse issue on mc with ncurses6
author Stanislas Leduc <shann@slitaz.org>
date Fri Jan 12 14:14:28 2024 +0100 (10 months ago)
parents 00e3b45c063b
children
rev   line source
pascal@17380 1 # SliTaz package receipt.
pascal@17380 2
pascal@17380 3 PACKAGE="iwatch"
Hans-G?nter@22966 4 VERSION="1.0.4"
pascal@17380 5 CATEGORY="base-system"
pascal@17380 6 SHORT_DESC="Realtime filesystem monitor."
pascal@17380 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17380 8 LICENSE="GPL2"
pascal@24308 9 WEB_SITE="https://github.com/iij/iwatch"
pascal@17380 10
Hans-G?nter@22966 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24978 12 WGET_URL="${WEB_SITE}/archive/v$VERSION/$TARBALL"
Hans-G?nter@22966 13
Hans-G?nter@22966 14 DEPENDS="perl-event perl-linux-inotify2 perl-mail-sendmail perl-xml-simple"
Hans-G?nter@22966 15 BUILD_DEPENDS="ncurses-dev"
Hans-G?nter@22966 16
pascal@24308 17 # What is the latest version available today?
pascal@24308 18 current_version()
pascal@24308 19 {
pascal@24308 20 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@25599 21 sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;q'
pascal@24308 22 }
pascal@24308 23
Hans-G?nter@22966 24 # Rules to configure and make the package.
Hans-G?nter@22966 25 compile_rules()
Hans-G?nter@22966 26 {
Hans-G?nter@22966 27 ./configure \
Hans-G?nter@22966 28 --prefix=/usr \
Hans-G?nter@22966 29 $CONFIGURE_ARGS &&
Hans-G?nter@22966 30 make &&
Hans-G?nter@22966 31 make DESTDIR=$DESTDIR install
pascal@22971 32 }
pascal@17380 33
pascal@17380 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17380 35 genpkg_rules()
pascal@17380 36 {
Hans-G?nter@22966 37 mkdir -p $fs/usr
Hans-G?nter@22966 38 cp -a $install/usr/bin $fs/usr
pascal@17380 39 }