void-packages/srcpkgs/traceroute/template

23 lines
661 B
Text
Raw Normal View History

2012-06-19 09:20:50 +00:00
# Template file for 'traceroute'
pkgname=traceroute
2014-07-27 19:16:41 +00:00
version=2.0.20
revision=1
short_desc="Traces the route taken by packets over an IPv4/IPv6 network"
2012-06-19 09:20:50 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://traceroute.sourceforge.net"
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
2014-07-27 19:16:41 +00:00
checksum=2facba9525c95428d7bff3a313fc6ecfd8c529c678ae666c73015558a0edc271
do_build() {
2014-06-01 05:54:11 +00:00
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() {
2014-07-27 19:16:41 +00:00
vbin traceroute/traceroute
vman traceroute/traceroute.8
}