2009-03-06 09:37:42 +01:00
|
|
|
# Template file for 'iputils'
|
|
|
|
pkgname=iputils
|
2011-02-01 02:05:09 +01:00
|
|
|
version=20101006
|
2012-01-25 06:14:10 +01:00
|
|
|
revision=3
|
2011-02-01 02:05:09 +01:00
|
|
|
patch_args="-Np1"
|
|
|
|
wrksrc="${pkgname}-s${version}"
|
2012-01-23 13:27:39 +01:00
|
|
|
homepage="http://www.skbuff.net/iputils"
|
|
|
|
distfiles="http://www.skbuff.net/iputils/${pkgname}-s${version}.tar.bz2"
|
2011-02-01 02:05:09 +01:00
|
|
|
short_desc="IP Configuration Utilities (and ping)"
|
2009-03-06 09:37:42 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-23 13:27:39 +01:00
|
|
|
license="BSD"
|
2011-02-01 02:05:09 +01:00
|
|
|
checksum=fd3af46c80ebb99607c2ca1f2a3608b6fe828e25bbec6e54f2afd25f6ddb6ee7
|
2009-03-06 09:37:42 +01:00
|
|
|
long_desc="
|
|
|
|
The iputils package is set of small useful utilities for Linux networking.
|
|
|
|
It was originally maintained by Alexey Kuznetsov."
|
|
|
|
|
2011-02-01 02:05:09 +01:00
|
|
|
Add_dependency build openssl-devel
|
2012-01-23 13:27:39 +01:00
|
|
|
Add_dependency build libcap-devel
|
|
|
|
Add_dependency build libidn-devel
|
2012-01-25 06:14:10 +01:00
|
|
|
Add_dependency full libcap-progs
|
2011-02-01 02:05:09 +01:00
|
|
|
|
2012-01-23 13:27:39 +01:00
|
|
|
do_build() {
|
|
|
|
make ${makejobs} \
|
|
|
|
arping clockdiff ping ping6 rdisc tracepath tracepath6
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
for f in clockdiff arping ping ping6 rdisc tracepath tracepath6; do
|
|
|
|
vinstall ${f} 755 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
|
2012-01-23 13:27:39 +01:00
|
|
|
ln -s ping.8 ping6.8
|
|
|
|
ln -s tracepath.8 tracepath6.8
|
|
|
|
|
2011-02-01 02:05:09 +01:00
|
|
|
}
|