wok-6.x annotate arp-scan/receipt @ 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 | |
children | e1412a523d8e |
rev | line source |
---|---|
pascal@16743 | 1 # SliTaz package receipt. |
pascal@16743 | 2 |
pascal@16743 | 3 PACKAGE="arp-scan" |
pascal@16743 | 4 VERSION="1.9" |
pascal@16743 | 5 CATEGORY="network" |
pascal@16743 | 6 SHORT_DESC="The ARP Scanner" |
pascal@16743 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16743 | 8 LICENSE="GPL3" |
pascal@16743 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16743 | 10 WEB_SITE="https://github.com/royhills/arp-scan" |
pascal@16743 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@16743 | 12 # https://github.com/royhills/arp-scan/archive/1.9.tar.gz |
pascal@16743 | 13 |
pascal@16743 | 14 DEPENDS="libpcap perl" |
pascal@16743 | 15 BUILD_DEPENDS="wget autoconf automake libpcap-dev" |
pascal@16743 | 16 |
pascal@16743 | 17 # Rules to configure and make the package. |
pascal@16743 | 18 compile_rules() |
pascal@16743 | 19 { |
pascal@16743 | 20 autoreconf --install |
pascal@16743 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@16743 | 22 make && |
pascal@16743 | 23 make check | sed '/0$/d' && |
pascal@16743 | 24 make DESTDIR=$DESTDIR install |
pascal@16743 | 25 } |
pascal@16743 | 26 |
pascal@16743 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16743 | 28 genpkg_rules() |
pascal@16743 | 29 { |
pascal@16743 | 30 mkdir -p $fs/usr $fs/usr/share |
pascal@16743 | 31 cp -a $install/usr/bin $fs/usr |
pascal@16743 | 32 cp -a $install/usr/share/arp-scan $fs/usr/share |
pascal@16743 | 33 } |