wok view arp-scan/receipt @ rev 25576
Up nimrod (1.6.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 13 17:57:27 2023 +0000 (19 months ago) |
parents | 8b1706ed1b75 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="arp-scan"
4 VERSION="1.9.7"
5 CATEGORY="network"
6 SHORT_DESC="The ARP Scanner."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/royhills/arp-scan"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="libpcap perl"
15 BUILD_DEPENDS="autoconf automake libpcap-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 autoreconf --install &&
27 ./configure --prefix=/usr $CONFIGURE_ARGS &&
28 make &&
29 make check | sed '/0$/d' &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 cook_copy_folders arp-scan
38 }