drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
--rwsr-sr-x root/root usr/bin/traceroute
+-rwxr-xr-x root/root usr/bin/traceroute
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/traceroute.8.gz
# 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
}