# HG changeset patch # User Eric Joseph-Alexandre # Date 1246366695 -7200 # Node ID 1ad832186b42c74f6cbfe6cb1f3a783a664db798 # Parent dce35081515c91a8eed2b52ec56ca30ecdf30085 Add: scanssh diff -r dce35081515c -r 1ad832186b42 scanssh/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scanssh/receipt Tue Jun 30 14:58:15 2009 +0200 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="scanssh" +VERSION="1.6b" +CATEGORY="network" +SHORT_DESC="Search for SSH server" +MAINTAINER="erjo@slitaz.org" +DEPENDS="libpcap" +BUILD_DEPS="libpcap-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.openbsd.org/" +WGET_URL="ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/scanssh/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + src=$PACKAGE + cd $src + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS && + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + src=$PACKAGE + mkdir -p $fs/usr/bin + cp -a $src/scanssh $fs/usr/bin +} + +clean_wok(){ + [ -d $PACKAGE ] && rm -rf $PACKAGE +} +