wok-6.x rev 16743
Add arp-scan
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 12 08:58:34 2014 +0200 (2014-06-12) |
parents | b5f37c66eddd |
children | e1412a523d8e |
files | arp-scan/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/arp-scan/receipt Thu Jun 12 08:58:34 2014 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="arp-scan" 1.7 +VERSION="1.9" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="The ARP Scanner" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/royhills/arp-scan" 1.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 1.15 +# https://github.com/royhills/arp-scan/archive/1.9.tar.gz 1.16 + 1.17 +DEPENDS="libpcap perl" 1.18 +BUILD_DEPENDS="wget autoconf automake libpcap-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + autoreconf --install 1.24 + ./configure --prefix=/usr $CONFIGURE_ARGS && 1.25 + make && 1.26 + make check | sed '/0$/d' && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr $fs/usr/share 1.34 + cp -a $install/usr/bin $fs/usr 1.35 + cp -a $install/usr/share/arp-scan $fs/usr/share 1.36 +}