wok-6.x view scanssh/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
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 }