wok-stable annotate arping/receipt @ rev 11039
Add arping.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 16 07:40:38 2011 +0000 (2011-10-16) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@11039 | 1 # SliTaz package receipt. |
slaxemulator@11039 | 2 |
slaxemulator@11039 | 3 PACKAGE="arping" |
slaxemulator@11039 | 4 VERSION="2.09" |
slaxemulator@11039 | 5 CATEGORY="network" |
slaxemulator@11039 | 6 SHORT_DESC="ARP ping utility" |
slaxemulator@11039 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@11039 | 8 WEB_SITE="http://www.habets.pp.se/synscan/programs.php?prog=arping" |
slaxemulator@11039 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11039 | 10 WGET_URL="http://www.habets.pp.se/synscan/files/$TARBALL" |
slaxemulator@11039 | 11 |
slaxemulator@11039 | 12 DEPENDS="libnet libpcap" |
slaxemulator@11039 | 13 BUILD_DEPENDS="libpcap-dev libnet-dev" |
slaxemulator@11039 | 14 |
slaxemulator@11039 | 15 # Rules to configure and make the package. |
slaxemulator@11039 | 16 compile_rules() |
slaxemulator@11039 | 17 { |
slaxemulator@11039 | 18 cd $src |
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 } |