wok-6.x annotate arp-scan/receipt @ rev 23192
updated mplayer-cli (1.3.0 -> 1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 20 11:50:42 2020 +0100 (2020-03-20) |
parents | 11b5e93cb5f2 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@16743 | 1 # SliTaz package receipt. |
pascal@16743 | 2 |
pascal@16743 | 3 PACKAGE="arp-scan" |
Hans-G?nter@20721 | 4 VERSION="1.9.5" |
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" |
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" |
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 } |