wok annotate whowatch/receipt @ rev 25075

created recipe for alsa-ucm-conf
author Hans-G?nter Theisgen
date Tue Jun 14 07:07:03 2022 +0100 (2022-06-14)
parents d64f5e2bac15
children 0262035dc1e7
rev   line source
paul@17555 1 # SliTaz package receipt.
paul@17555 2
paul@17555 3 PACKAGE="whowatch"
Hans-G?nter@22129 4 VERSION="1.8.6"
paul@17555 5 CATEGORY="utilities"
paul@17555 6 SHORT_DESC="Real-time user logins monitoring tool."
paul@17555 7 MAINTAINER="paul@slitaz.org"
paul@17555 8 LICENSE="GPL2"
Hans-G?nter@22129 9 WEB_SITE="https://github.com/mtsuszycki/whowatch/"
Hans-G?nter@22129 10
paul@17555 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22129 12 WGET_URL="${WEB_SITE}releases/download/$PACKAGE-$VERSION/$TARBALL"
paul@17555 13
Hans-G?nter@22129 14 DEPENDS="libtinfo ncurses"
paul@17555 15 BUILD_DEPENDS="ncurses-dev"
paul@17555 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/whowatch-\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
paul@17555 23 # Rules to configure and make the package.
paul@17555 24 compile_rules()
paul@17555 25 {
pascal@17670 26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
Hans-G?nter@22129 27
Hans-G?nter@22129 28 ./configure --prefix=/usr &&
Hans-G?nter@22129 29 make &&
paul@17555 30 make install
paul@17555 31 }
paul@17555 32
paul@17555 33 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@17555 34 genpkg_rules()
paul@17555 35 {
paul@17555 36 mkdir -p $fs/usr
paul@17555 37 cp -a $install/usr/bin $fs/usr
paul@17555 38 }