wok-6.x annotate arp-scan/receipt @ rev 18343

Up: bash (4.3.42)
author Alexander Medvedev <devl547@gmail.com>
date Fri Sep 11 11:59:50 2015 +0000 (2015-09-11)
parents 5e9e7232d342
children 04d824c95283
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
pascal@16743 13 DEPENDS="libpcap perl"
pascal@16743 14 BUILD_DEPENDS="wget autoconf automake libpcap-dev"
pascal@16743 15
pascal@16743 16 # Rules to configure and make the package.
pascal@16743 17 compile_rules()
pascal@16743 18 {
pascal@16743 19 autoreconf --install
pascal@16743 20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@16743 21 make &&
pascal@16743 22 make check | sed '/0$/d' &&
pascal@16743 23 make DESTDIR=$DESTDIR install
pascal@16743 24 }
pascal@16743 25
pascal@16743 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16743 27 genpkg_rules()
pascal@16743 28 {
pascal@16743 29 mkdir -p $fs/usr $fs/usr/share
pascal@16743 30 cp -a $install/usr/bin $fs/usr
pascal@16743 31 cp -a $install/usr/share/arp-scan $fs/usr/share
pascal@16743 32 }