X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=traceroute%2FPkgfile;h=0b64ecea8556acc2b221690ca5da8e2b4a943c39;hb=0132219921a442e1e8a078d62f1e764d4a078e38;hp=1a9235f4a072fa8cb6f1527de0b9f937ac9b7a7b;hpb=14754faaf7f2103704098d069d967d956e531ec8;p=crossrootfs.git

diff --git a/traceroute/Pkgfile b/traceroute/Pkgfile
index 1a9235f..0b64ece 100644
--- a/traceroute/Pkgfile
+++ b/traceroute/Pkgfile
@@ -1,27 +1,16 @@
 # Description: A tool to trace the route of ip packets
 # URL: ftp://ftp.ee.lbl.gov/
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on:
 
 name=traceroute
-version=1.4a12
+version=2.0.17
 release=1
-source=(ftp://ftp.ee.lbl.gov/$name-$version.tar.gz)
+source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz)
 
 build() {
   cd $name-$version
-
-  ./configure --build=$CHOST \
-              --host=$CTARGET \
-              --prefix=/usr
-
-  make CFLAGS="$CFLAGS -I./linux-include"
-  mkdir -p $PKG/usr/sbin $PKG/usr/man/man8
-  make DESTDIR=$PKG install install-man
-
-  mv $PKG/usr/sbin $PKG/usr/bin
-  chown -R root.root $PKG
-  chmod -R +w $PKG
-  chmod +s $PKG/usr/bin/traceroute
+  make CROSS="$CTARGET-" LDFLAGS="-L../libsupp -s"
+  make DESTDIR=$PKG prefix=/usr mandir=/usr/man install
 }