2009-03-06 09:37:42 +01:00
|
|
|
# Template file for 'iputils'
|
|
|
|
pkgname=iputils
|
2013-01-09 11:23:29 +01:00
|
|
|
version=20121221
|
2015-03-18 08:27:12 +01:00
|
|
|
revision=9
|
|
|
|
build_pie=yes
|
2011-02-01 02:05:09 +01:00
|
|
|
patch_args="-Np1"
|
|
|
|
wrksrc="${pkgname}-s${version}"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="libressl-devel libcap-devel"
|
2011-02-01 02:05:09 +01:00
|
|
|
short_desc="IP Configuration Utilities (and ping)"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-01-23 13:27:39 +01:00
|
|
|
license="BSD"
|
2013-02-16 09:44:27 +01:00
|
|
|
homepage="http://www.skbuff.net/iputils"
|
|
|
|
distfiles="http://www.skbuff.net/iputils/${pkgname}-s${version}.tar.bz2"
|
2013-01-09 11:23:29 +01:00
|
|
|
checksum=450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f
|
2009-03-06 09:37:42 +01:00
|
|
|
|
2012-01-23 13:27:39 +01:00
|
|
|
do_build() {
|
2015-03-18 08:27:12 +01:00
|
|
|
make CC="$CC" LD="$LD" CCOPTOPT="$CFLAGS" LDFLAGS="$LDFLAGS" \
|
2014-06-05 10:43:46 +02:00
|
|
|
USE_GNUTLS=no ${makejobs} \
|
2013-05-26 10:41:55 +02:00
|
|
|
arping clockdiff ping ping6 rdisc tracepath tracepath6
|
2012-01-23 13:27:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2014-12-10 19:07:27 +01:00
|
|
|
for f in ping ping6; do
|
2015-03-18 08:27:12 +01:00
|
|
|
vinstall ${f} 4755 usr/bin
|
2014-12-10 19:07:27 +01:00
|
|
|
done
|
|
|
|
for f in clockdiff arping rdisc tracepath tracepath6; do
|
2015-03-18 08:27:12 +01:00
|
|
|
vinstall ${f} 755 usr/bin
|
2012-01-23 13:27:39 +01:00
|
|
|
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
|
|
|
}
|