24 lines
705 B
Plaintext
24 lines
705 B
Plaintext
# Template file for 'traceroute'
|
|
pkgname=traceroute
|
|
version=2.0.19
|
|
revision=4
|
|
short_desc="Traces the route taken by packets over an IPv4/IPv6 network"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://traceroute.sourceforge.net"
|
|
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=082be58ec3e6fe9717a52160150e2f6d52fa90f8ecb82abf3b363c8150b0607e
|
|
|
|
do_build() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
make LDFLAGS="-L${wrksrc}/libsupp $LDFLAGS" CFLAGS="$CFLAGS" CROSS=${XBPS_CROSS_TRIPLET}- ${makejobs}
|
|
else
|
|
make CFLAGS="$CFLAGS" ${makejobs}
|
|
fi
|
|
}
|
|
|
|
do_install() {
|
|
vinstall traceroute/traceroute 755 usr/bin
|
|
vinstall traceroute/traceroute.8 644 usr/share/man/man8
|
|
}
|