wok-next view arp-scan/receipt @ rev 19066

It works, but needs review and improvement. Thank you.
author Leonardo Laporte <hackdorte@sapo.pt>
date Thu Apr 21 06:32:59 2016 -0300 (2016-04-21)
parents 5e9e7232d342
children 04d824c95283
line source
1 # SliTaz package receipt.
3 PACKAGE="arp-scan"
4 VERSION="1.9"
5 CATEGORY="network"
6 SHORT_DESC="The ARP Scanner"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/royhills/arp-scan"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 DEPENDS="libpcap perl"
14 BUILD_DEPENDS="wget autoconf automake libpcap-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 autoreconf --install
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make check | sed '/0$/d' &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/arp-scan $fs/usr/share
32 }