wok-next annotate scanssh/receipt @ rev 20303
gnustep-back: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 11:17:33 2017 +0100 (2017-11-10) |
parents | 90198f573d18 |
children | 7506b35e1c6f |
rev | line source |
---|---|
erjo@3616 | 1 # SliTaz package receipt. |
erjo@3616 | 2 |
erjo@3616 | 3 PACKAGE="scanssh" |
slaxemulator@6608 | 4 VERSION="2.1" |
erjo@3616 | 5 CATEGORY="network" |
erjo@3616 | 6 SHORT_DESC="Search for SSH server" |
erjo@3616 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15587 | 8 LICENSE="BSD" |
erjo@3616 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6608 | 10 WEB_SITE="http://www.monkey.org/~provos/scanssh/" |
slaxemulator@6608 | 11 WGET_URL="http://www.monkey.org/~provos/$TARBALL" |
pascal@17141 | 12 TAGS="ssh" |
erjo@3616 | 13 |
pascal@15587 | 14 DEPENDS="libpcap libdnet libevent" |
pascal@15587 | 15 BUILD_DEPENDS="libpcap-dev libdnet-dev libevent libevent-dev autoconf" |
pascal@15587 | 16 |
erjo@3616 | 17 # Rules to configure and make the package. |
erjo@3616 | 18 compile_rules() |
erjo@3616 | 19 { |
erjo@3616 | 20 ./configure \ |
erjo@3616 | 21 --prefix=/usr \ |
erjo@3616 | 22 $CONFIGURE_ARGS && |
erjo@3616 | 23 make |
pascal@19369 | 24 install -d -m 755 $DESTDIR/usr/share/man/man1 && |
pascal@19371 | 25 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1 |
erjo@3616 | 26 } |
erjo@3616 | 27 |
erjo@3616 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3616 | 29 genpkg_rules() |
erjo@3616 | 30 { |
erjo@3616 | 31 mkdir -p $fs/usr/bin |
erjo@3616 | 32 cp -a $src/scanssh $fs/usr/bin |
erjo@3616 | 33 } |
erjo@3616 | 34 |