void-packages/srcpkgs/iputils/template

36 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template file for 'iputils'
pkgname=iputils
2012-10-17 16:56:58 +02:00
version=20121011
revision=1
2011-02-01 02:05:09 +01:00
patch_args="-Np1"
wrksrc="${pkgname}-s${version}"
homepage="http://www.skbuff.net/iputils"
distfiles="http://www.skbuff.net/iputils/${pkgname}-s${version}.tar.bz2"
2012-10-17 16:56:58 +02:00
makedepends="openssl-devel libcap-devel libidn-devel libsysfs-devel"
fulldepends="libcap-progs"
2011-02-01 02:05:09 +01:00
short_desc="IP Configuration Utilities (and ping)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
2012-10-17 16:56:58 +02:00
checksum=018a4300a4b40698a3b0801c79de9aea39a281a080acceaacd676fe18827cb72
long_desc="
The iputils package is set of small useful utilities for Linux networking.
It was originally maintained by Alexey Kuznetsov."
do_build() {
make ${makejobs} \
arping clockdiff ping ping6 rdisc tracepath tracepath6
}
do_install() {
for f in clockdiff arping ping ping6 rdisc tracepath tracepath6; do
2012-07-09 15:08:40 +02: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 02:05:09 +01:00
cd ${DESTDIR}/usr/share/man/man8
ln -s ping.8 ping6.8
ln -s tracepath.8 tracepath6.8
2011-02-01 02:05:09 +01:00
}