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