wok-current annotate arp-scan/receipt @ rev 25155
updated proxytunnel (1.9.0 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 15:35:33 2022 +0100 (2022-06-30) |
parents | 8b1706ed1b75 |
children |
rev | line source |
---|---|
pascal@16743 | 1 # SliTaz package receipt. |
pascal@16743 | 2 |
pascal@16743 | 3 PACKAGE="arp-scan" |
Hans-G?nter@24324 | 4 VERSION="1.9.7" |
pascal@16743 | 5 CATEGORY="network" |
Hans-G?nter@24324 | 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" |
Hans-G?nter@20721 | 10 |
pascal@16743 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16743 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@16743 | 13 |
pascal@16743 | 14 DEPENDS="libpcap perl" |
Hans-G?nter@24324 | 15 BUILD_DEPENDS="autoconf automake libpcap-dev" |
pascal@16743 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24384 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@16743 | 23 # Rules to configure and make the package. |
pascal@16743 | 24 compile_rules() |
pascal@16743 | 25 { |
Hans-G?nter@24324 | 26 autoreconf --install && |
pascal@16743 | 27 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@16743 | 28 make && |
pascal@16743 | 29 make check | sed '/0$/d' && |
pascal@16743 | 30 make DESTDIR=$DESTDIR install |
pascal@16743 | 31 } |
pascal@16743 | 32 |
pascal@16743 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16743 | 34 genpkg_rules() |
pascal@16743 | 35 { |
Hans-G?nter@24324 | 36 cook_copy_folders bin |
Hans-G?nter@24324 | 37 cook_copy_folders arp-scan |
pascal@16743 | 38 } |