void-packages/srcpkgs/iputils/template

36 lines
1 KiB
Text
Raw Normal View History

# Template file for 'iputils'
pkgname=iputils
2013-01-09 10:23:29 +00:00
version=20121221
revision=6
2011-02-01 01:05:09 +00:00
patch_args="-Np1"
wrksrc="${pkgname}-s${version}"
2014-07-14 09:42:16 +00:00
makedepends="libressl-devel libcap-devel"
depends="libcap-progs"
2011-02-01 01:05:09 +00:00
short_desc="IP Configuration Utilities (and ping)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.skbuff.net/iputils"
distfiles="http://www.skbuff.net/iputils/${pkgname}-s${version}.tar.bz2"
2013-01-09 10:23:29 +00:00
checksum=450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f
do_build() {
2014-06-05 08:43:46 +00:00
make CC="$CC" LD="$LD" CCOPTOPT="$CFLAGS -fPIE" LDFLAGS="$LDFLAGS -pie" \
USE_GNUTLS=no ${makejobs} \
arping clockdiff ping ping6 rdisc tracepath tracepath6
}
do_install() {
for f in ping ping6; do
vinstall ${f} 4755 usr/sbin
done
for f in clockdiff arping rdisc tracepath tracepath6; do
2012-07-09 13:08:40 +00:00
vinstall ${f} 755 usr/sbin
done
for f in clockdiff arping ping rdisc tracepath; do
vinstall doc/${f}.8 644 usr/share/man/man8
done
2011-02-01 01:05:09 +00:00
cd ${DESTDIR}/usr/share/man/man8
ln -s ping.8 ping6.8
ln -s tracepath.8 tracepath6.8
2011-02-01 01:05:09 +00:00
}