traceroute: rebuild for -dbg pkg; cross build support.
This commit is contained in:
parent
02e0408fea
commit
a42517f49e
@ -1,17 +1,25 @@
|
|||||||
# Template file for 'traceroute'
|
# Template file for 'traceroute'
|
||||||
pkgname=traceroute
|
pkgname=traceroute
|
||||||
version=2.0.19
|
version=2.0.19
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
short_desc="Traces the route taken by packets over an IPv4/IPv6 network"
|
||||||
make_install_args="prefix=/usr"
|
|
||||||
short_desc="traceroute(8) for linux"
|
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://traceroute.sourceforge.net"
|
homepage="http://traceroute.sourceforge.net"
|
||||||
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=082be58ec3e6fe9717a52160150e2f6d52fa90f8ecb82abf3b363c8150b0607e
|
checksum=082be58ec3e6fe9717a52160150e2f6d52fa90f8ecb82abf3b363c8150b0607e
|
||||||
long_desc="
|
|
||||||
Traceroute tracks the route packets taken from an IP network on their way to
|
do_build() {
|
||||||
a given host. It utilizes the IP protocol's time to live (TTL) field and
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along
|
make LDFLAGS="-L${wrksrc}/libsupp" \
|
||||||
the path to the host."
|
CROSS=${XBPS_CROSS_TRIPLET}- \
|
||||||
|
CFLAGS="$CFLAGS" ${makejobs}
|
||||||
|
else
|
||||||
|
make CFLAGS="$CFLAGS" ${makejobs}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vinstall traceroute/traceroute 755 usr/bin
|
||||||
|
vinstall traceroute/traceroute.8 644 usr/share/man/man1
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user