wok-next diff whowatch/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 1fcdbab05a8a |
children |
line diff
1.1 --- a/whowatch/receipt Tue Oct 17 10:26:48 2017 +0200 1.2 +++ b/whowatch/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,30 +1,27 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="whowatch" 1.8 VERSION="1.8.5" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="Real-time user logins monitoring tool." 1.11 +SHORT_DESC="Real-time user logins monitoring tool" 1.12 MAINTAINER="paul@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://wizard.ae.krakow.pl/~mike/#whowatch" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://wizard.ae.krakow.pl/~mike/#whowatch" 1.18 WGET_URL="http://wizard.ae.krakow.pl/~mike/download/$TARBALL" 1.19 1.20 -DEPENDS="ncurses" 1.21 BUILD_DEPENDS="ncurses-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 1.28 - ./configure --prefix=/usr 1.29 - make 1.30 + 1.31 + ./configure --prefix=/usr && 1.32 + make && 1.33 make install 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr 1.40 - cp -a $install/usr/bin $fs/usr 1.41 +genpkg_rules() { 1.42 + copy @std 1.43 + DEPENDS="ncurses" 1.44 }