2012-06-19 09:20:50 +00:00
|
|
|
# Template file for 'traceroute'
|
|
|
|
pkgname=traceroute
|
2013-01-08 20:57:32 +00:00
|
|
|
version=2.0.19
|
2014-06-01 05:54:11 +00:00
|
|
|
revision=4
|
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"
|
2013-01-08 20:57:32 +00:00
|
|
|
checksum=082be58ec3e6fe9717a52160150e2f6d52fa90f8ecb82abf3b363c8150b0607e
|
2013-02-18 20:04:36 +00:00
|
|
|
|
|
|
|
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}
|
2013-02-18 20:04:36 +00:00
|
|
|
else
|
|
|
|
make CFLAGS="$CFLAGS" ${makejobs}
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vinstall traceroute/traceroute 755 usr/bin
|
2013-02-18 20:05:50 +00:00
|
|
|
vinstall traceroute/traceroute.8 644 usr/share/man/man8
|
2013-02-18 20:04:36 +00:00
|
|
|
}
|