wok-current diff scanssh/receipt @ rev 5238

mountlo: fix owner
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 10 15:06:13 2010 +0200 (2010-04-10)
parents
children 9f9af422379b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/scanssh/receipt	Sat Apr 10 15:06:13 2010 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="scanssh"
     1.7 +VERSION="1.6b"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Search for SSH server"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="libpcap"
    1.12 +BUILD_DEPS="libpcap-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.openbsd.org/"
    1.15 +WGET_URL="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/scanssh/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	src=$PACKAGE
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	make 
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	src=$PACKAGE
    1.32 +	mkdir -p $fs/usr/bin
    1.33 +	cp -a $src/scanssh $fs/usr/bin
    1.34 +}
    1.35 +
    1.36 +clean_wok(){
    1.37 +	[ -d $PACKAGE ] && rm -rf $PACKAGE
    1.38 +}
    1.39 +