wok view scanssh/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (11 months ago) |
parents | 934055de50e2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="scanssh"
4 VERSION="2.1"
5 CATEGORY="network"
6 SHORT_DESC="Search for SSH server"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.monkey.org/~provos/scanssh/"
11 WGET_URL="https://www.monkey.org/~provos/$TARBALL"
12 TAGS="ssh"
14 DEPENDS="libpcap libdnet libevent"
15 BUILD_DEPENDS="libpcap-dev libdnet-dev libevent libevent-dev autoconf"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make
31 install -d -m 755 $DESTDIR/usr/share/man/man1 &&
32 install -m 644 $src/*.1 $DESTDIR/usr/share/man/man1
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 cp -a $src/scanssh $fs/usr/bin
40 }