wok-next view scanssh/receipt @ rev 5151
vlc, wesnoth: compile_rules should be busybox compatible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 24 08:50:23 2010 +0100 (2010-03-24) |
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 }