wok view arp-scan/receipt @ rev 19267

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 11:45:47 2016 +0300 (2016-07-04)
parents e1412a523d8e
children 11b5e93cb5f2
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
25 cook_compress_manpages
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/arp-scan $fs/usr/share
34 }