22 lines
661 B
Text
22 lines
661 B
Text
# Template file for 'traceroute'
|
|
pkgname=traceroute
|
|
version=2.0.20
|
|
revision=1
|
|
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=2facba9525c95428d7bff3a313fc6ecfd8c529c678ae666c73015558a0edc271
|
|
|
|
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() {
|
|
vbin traceroute/traceroute
|
|
vman traceroute/traceroute.8
|
|
}
|