wok-current annotate whowatch/receipt @ rev 22530
systemd: added dependencies libwrap and pam
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 03 07:13:19 2020 +0100 (2020-01-03) |
parents | aaa3fcf79cf3 |
children | 5ea0ce1cecc0 |
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 |
paul@17555 | 17 # Rules to configure and make the package. |
paul@17555 | 18 compile_rules() |
paul@17555 | 19 { |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
Hans-G?nter@22129 | 21 |
Hans-G?nter@22129 | 22 ./configure --prefix=/usr && |
Hans-G?nter@22129 | 23 make && |
paul@17555 | 24 make install |
paul@17555 | 25 } |
paul@17555 | 26 |
paul@17555 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17555 | 28 genpkg_rules() |
paul@17555 | 29 { |
paul@17555 | 30 mkdir -p $fs/usr |
paul@17555 | 31 cp -a $install/usr/bin $fs/usr |
paul@17555 | 32 } |