CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
traceroute: update to 2.0.17
[crossrootfs.git] / traceroute / Pkgfile
index 918c760f67a409ce4729d5d6715053b3c4a41a70..0b64ecea8556acc2b221690ca5da8e2b4a943c39 100644 (file)
@@ -5,23 +5,12 @@
 # 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
 }