2012-06-19 09:20:50 +00:00
|
|
|
# Template file for 'traceroute'
|
|
|
|
pkgname=traceroute
|
2014-11-12 09:29:41 +00:00
|
|
|
version=2.0.21
|
2015-03-04 18:44:01 +00:00
|
|
|
revision=3
|
|
|
|
build_pie=yes
|
2013-02-18 20:04:36 +00:00
|
|
|
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-11-12 09:29:41 +00:00
|
|
|
checksum=f7ac93ef30b13a587292b8d6a7e2538a65bc978a3a576eab238c392b884e96e0
|
2013-02-18 20:04:36 +00:00
|
|
|
|
|
|
|
do_build() {
|
2014-06-01 05:54:11 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2015-03-04 18:44:01 +00:00
|
|
|
make LDFLAGS="-L${wrksrc}/libsupp $LDFLAGS" CFLAGS="$CFLAGS $CPPFLAGS" CROSS=${XBPS_CROSS_TRIPLET}- ${makejobs}
|
2013-02-18 20:04:36 +00:00
|
|
|
else
|
2015-03-04 18:44:01 +00:00
|
|
|
make CFLAGS="$CFLAGS $CPPFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
2013-02-18 20:04:36 +00:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
do_install() {
|
2014-07-27 19:16:41 +00:00
|
|
|
vbin traceroute/traceroute
|
|
|
|
vman traceroute/traceroute.8
|
2013-02-18 20:04:36 +00:00
|
|
|
}
|