wok-next diff horst/receipt @ rev 21149

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 30 23:32:57 2019 +0200 (2019-01-30)
parents 1fcdbab05a8a
children
line diff
     1.1 --- a/horst/receipt	Tue Oct 17 10:26:48 2017 +0200
     1.2 +++ b/horst/receipt	Wed Jan 30 23:32:57 2019 +0200
     1.3 @@ -1,28 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="horst"
     1.8  VERSION="4.2"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Small, lightweight IEEE802.11 wireless LAN analyzer with a text interface."
    1.11 +SHORT_DESC="Small, lightweight IEEE802.11 wireless LAN analyzer with a text \
    1.12 +interface"
    1.13  MAINTAINER="paul@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="http://br1.einfach.org/tech/horst/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://br1.einfach.org/tech/horst/"
    1.19  WGET_URL="http://br1.einfach.org/horst_dl/$TARBALL"
    1.20  
    1.21 -DEPENDS="ncurses"
    1.22  BUILD_DEPENDS="ncurses-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    1.29 -	make
    1.30 +	make &&
    1.31 +	install -Dm755 $src/horst $install/usr/bin/horst
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	mkdir -p $fs/usr/bin
    1.38 -	cp -a $src/$PACKAGE $fs/usr/bin	
    1.39 +genpkg_rules() {
    1.40 +	copy @std
    1.41 +	DEPENDS="ncurses"
    1.42  }