wok-6.x view scanssh/receipt @ rev 4003

linux: ensure linux-source will have patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 31 17:17:44 2009 +0200 (2009-08-31)
parents
children 9f9af422379b
line source
1 # SliTaz package receipt.
3 PACKAGE="scanssh"
4 VERSION="1.6b"
5 CATEGORY="network"
6 SHORT_DESC="Search for SSH server"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libpcap"
9 BUILD_DEPS="libpcap-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.openbsd.org/"
12 WGET_URL="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/scanssh/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src=$PACKAGE
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 src=$PACKAGE
29 mkdir -p $fs/usr/bin
30 cp -a $src/scanssh $fs/usr/bin
31 }
33 clean_wok(){
34 [ -d $PACKAGE ] && rm -rf $PACKAGE
35 }