2009-03-06 08:37:42 +00:00
|
|
|
# Template file for 'iputils'
|
|
|
|
pkgname=iputils
|
2013-01-09 10:23:29 +00:00
|
|
|
version=20121221
|
2012-10-17 14:56:58 +00:00
|
|
|
revision=1
|
2011-02-01 01:05:09 +00:00
|
|
|
patch_args="-Np1"
|
|
|
|
wrksrc="${pkgname}-s${version}"
|
2012-01-23 12:27:39 +00:00
|
|
|
homepage="http://www.skbuff.net/iputils"
|
|
|
|
distfiles="http://www.skbuff.net/iputils/${pkgname}-s${version}.tar.bz2"
|
2012-10-17 14:56:58 +00:00
|
|
|
makedepends="openssl-devel libcap-devel libidn-devel libsysfs-devel"
|
2012-05-23 16:26:56 +00:00
|
|
|
fulldepends="libcap-progs"
|
2011-02-01 01:05:09 +00:00
|
|
|
short_desc="IP Configuration Utilities (and ping)"
|
2009-03-06 08:37:42 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-23 12:27:39 +00:00
|
|
|
license="BSD"
|
2013-01-09 10:23:29 +00:00
|
|
|
checksum=450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f
|
2009-03-06 08:37:42 +00:00
|
|
|
long_desc="
|
|
|
|
The iputils package is set of small useful utilities for Linux networking.
|
|
|
|
It was originally maintained by Alexey Kuznetsov."
|
|
|
|
|
2012-01-23 12:27:39 +00:00
|
|
|
do_build() {
|
2013-01-09 10:23:29 +00:00
|
|
|
make USE_GNUTLS=no CCOPTOPT="${CFLAGS}" ${makejobs} \
|
2012-01-23 12:27:39 +00:00
|
|
|
arping clockdiff ping ping6 rdisc tracepath tracepath6
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
for f in clockdiff arping ping ping6 rdisc tracepath tracepath6; do
|
2012-07-09 13:08:40 +00:00
|
|
|
vinstall ${f} 755 usr/sbin
|
2012-01-23 12:27:39 +00:00
|
|
|
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
|
2012-01-23 12:27:39 +00:00
|
|
|
ln -s ping.8 ping6.8
|
|
|
|
ln -s tracepath.8 tracepath6.8
|
|
|
|
|
2011-02-01 01:05:09 +00:00
|
|
|
}
|