wok-current annotate scanssh/receipt @ rev 3921

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