wok-next diff scanssh/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 | 7506b35e1c6f |
children |
line diff
1.1 --- a/scanssh/receipt Mon Aug 13 00:47:17 2018 +0300 1.2 +++ b/scanssh/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,34 +1,30 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="scanssh" 1.8 VERSION="2.1" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Search for SSH server" 1.11 -MAINTAINER="erjo@slitaz.org" 1.12 +MAINTAINER="devel@slitaz.org" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="https://www.monkey.org/~provos/scanssh/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="https://www.monkey.org/~provos/scanssh/" 1.18 WGET_URL="https://www.monkey.org/~provos/$TARBALL" 1.19 -TAGS="ssh" 1.20 1.21 -DEPENDS="libpcap libdnet libevent" 1.22 BUILD_DEPENDS="libpcap-dev libdnet-dev libevent libevent-dev autoconf" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 ./configure \ 1.29 --prefix=/usr \ 1.30 $CONFIGURE_ARGS && 1.31 - make 1.32 - install -d -m 755 $DESTDIR/usr/share/man/man1 && 1.33 - install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 1.34 + make || return 1 1.35 + 1.36 + install -Dm755 scanssh $install/usr/bin/scanssh 1.37 + cook_pick_manpages $src/*.1 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr/bin 1.44 - cp -a $src/scanssh $fs/usr/bin 1.45 +genpkg_rules() { 1.46 + copy @std 1.47 + DEPENDS="libpcap libdnet libevent" 1.48 + TAGS="ssh" 1.49 } 1.50 -