wok-6.x view arp-scan/receipt @ rev 24213

updated perl-file-which (1.23 -> 1.27)
author Hans-G?nter Theisgen
date Fri Dec 31 16:19:09 2021 +0100 (2021-12-31)
parents d4b5a0494f8a
children 8b1706ed1b75
line source
1 # SliTaz package receipt.
3 PACKAGE="arp-scan"
4 VERSION="1.9.5"
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="wget autoconf automake libpcap-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 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 mkdir -p $fs/usr $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/arp-scan $fs/usr/share
39 }