void-packages/srcpkgs/traceroute/template
2014-11-12 09:29:41 +00:00

22 lines
661 B
Text

# Template file for 'traceroute'
pkgname=traceroute
version=2.0.21
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=f7ac93ef30b13a587292b8d6a7e2538a65bc978a3a576eab238c392b884e96e0
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
}