wok-current annotate scanssh/receipt @ rev 22170
linld: clear heap in moverm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 10:47:52 2019 +0100 (2019-11-08) |
parents | 38da7d1a1d04 |
children | 934055de50e2 |
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" |
pascal@20679 | 10 WEB_SITE="https://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 |