wok-current annotate arping/receipt @ rev 15296
Add smake
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 10:14:31 2013 +0000 (2013-09-27) |
parents | 0bcec1fdfe98 |
children | 04d824c95283 |
rev | line source |
---|---|
slaxemulator@11039 | 1 # SliTaz package receipt. |
slaxemulator@11039 | 2 |
slaxemulator@11039 | 3 PACKAGE="arping" |
samuel_trassare@14113 | 4 VERSION="2.13" |
slaxemulator@11039 | 5 CATEGORY="network" |
slaxemulator@11039 | 6 SHORT_DESC="ARP ping utility" |
slaxemulator@11039 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15201 | 8 LICENSE="GPL2" |
slaxemulator@11039 | 9 WEB_SITE="http://www.habets.pp.se/synscan/programs.php?prog=arping" |
slaxemulator@11039 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11039 | 11 WGET_URL="http://www.habets.pp.se/synscan/files/$TARBALL" |
slaxemulator@11039 | 12 |
slaxemulator@11039 | 13 DEPENDS="libnet libpcap" |
slaxemulator@11039 | 14 BUILD_DEPENDS="libpcap-dev libnet-dev" |
slaxemulator@11039 | 15 |
slaxemulator@11039 | 16 # Rules to configure and make the package. |
slaxemulator@11039 | 17 compile_rules() |
slaxemulator@11039 | 18 { |
slaxemulator@11039 | 19 ./configure $CONFIGURE_ARGS && |
slaxemulator@11039 | 20 make && make DESTDIR=$DESTDIR install |
slaxemulator@11039 | 21 } |
slaxemulator@11039 | 22 |
slaxemulator@11039 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11039 | 24 genpkg_rules() |
slaxemulator@11039 | 25 { |
slaxemulator@11039 | 26 mkdir -p $fs/usr |
slaxemulator@11039 | 27 cp -a $install/usr/sbin $fs/usr |
slaxemulator@11039 | 28 } |