traceroute: fix conflict with inetutils-traceroute.
This commit is contained in:
parent
99956ed6a1
commit
07cb38c6e4
1 changed files with 10 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'traceroute'
|
# Template file for 'traceroute'
|
||||||
pkgname=traceroute
|
pkgname=traceroute
|
||||||
version=2.1.0
|
version=2.1.0
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Traces the route taken by packets over an IPv4/IPv6 network"
|
short_desc="Traces the route taken by packets over an IPv4/IPv6 network"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -9,6 +9,11 @@ homepage="http://traceroute.sourceforge.net"
|
||||||
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=3669d22a34d3f38ed50caba18cd525ba55c5c00d5465f2d20d7472e5d81603b6
|
checksum=3669d22a34d3f38ed50caba18cd525ba55c5c00d5465f2d20d7472e5d81603b6
|
||||||
|
|
||||||
|
alternatives="
|
||||||
|
traceroute:traceroute:/usr/bin/linux-traceroute
|
||||||
|
traceroute:traceroute.1:/usr/share/man/man1/linux-traceroute.1
|
||||||
|
"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
make LDFLAGS="-L${wrksrc}/libsupp $LDFLAGS" CFLAGS="$CFLAGS $CPPFLAGS" CROSS=${XBPS_CROSS_TRIPLET}- ${makejobs}
|
make LDFLAGS="-L${wrksrc}/libsupp $LDFLAGS" CFLAGS="$CFLAGS $CPPFLAGS" CROSS=${XBPS_CROSS_TRIPLET}- ${makejobs}
|
||||||
|
@ -17,9 +22,9 @@ do_build() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin traceroute/traceroute
|
vbin traceroute/traceroute linux-traceroute
|
||||||
vman traceroute/traceroute.8
|
vman traceroute/traceroute.8 linux-traceroute.8
|
||||||
|
|
||||||
ln -s traceroute $DESTDIR/usr/bin/traceroute6
|
ln -s linux-traceroute $DESTDIR/usr/bin/traceroute6
|
||||||
ln -s traceroute.8 $DESTDIR/usr/share/man/man8/traceroute6.8
|
ln -s linux-traceroute.8 $DESTDIR/usr/share/man/man8/traceroute6.8
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue