CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
coreutils: updated to 8.19
[crossrootfs.git] / traceroute / Pkgfile
index 62af73b31b6ef6f026a93cf07371047a5722f304..0b64ecea8556acc2b221690ca5da8e2b4a943c39 100644 (file)
@@ -1,24 +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
-# Ach Maintainer: CRUX ARM System Team
+# 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
 }