wok-next annotate scanssh/receipt @ rev 16637
ruby-dev: add gem
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 12 10:25:37 2014 +0000 (2014-05-12) |
parents | 209f2ed52094 |
children | f44ef80ff9e2 |
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" |
erjo@3616 | 12 |
pascal@15587 | 13 DEPENDS="libpcap libdnet libevent" |
pascal@15587 | 14 BUILD_DEPENDS="libpcap-dev libdnet-dev libevent libevent-dev autoconf" |
pascal@15587 | 15 |
erjo@3616 | 16 # Rules to configure and make the package. |
erjo@3616 | 17 compile_rules() |
erjo@3616 | 18 { |
erjo@3616 | 19 cd $src |
erjo@3616 | 20 ./configure \ |
erjo@3616 | 21 --prefix=/usr \ |
erjo@3616 | 22 $CONFIGURE_ARGS && |
erjo@3616 | 23 make |
erjo@3616 | 24 } |
erjo@3616 | 25 |
erjo@3616 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3616 | 27 genpkg_rules() |
erjo@3616 | 28 { |
erjo@3616 | 29 mkdir -p $fs/usr/bin |
erjo@3616 | 30 cp -a $src/scanssh $fs/usr/bin |
erjo@3616 | 31 } |
erjo@3616 | 32 |