wok annotate arp-scan/receipt @ rev 19685
Up tazpkg (942)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Feb 12 04:43:38 2017 +0200 (2017-02-12) |
parents | 04d824c95283 |
children | d4b5a0494f8a |
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" |
al@19275 | 9 WEB_SITE="https://github.com/royhills/arp-scan" |
pascal@16743 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
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 } |