CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / traceroute / Pkgfile
1 # Description: A tool to trace the route of ip packets
2 # URL: ftp://ftp.ee.lbl.gov/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Ach Maintainer: CRUX ARM System Team
5 # Depends on:
6
7 name=traceroute
8 version=1.4a12
9 release=1
10 source=(ftp://ftp.ee.lbl.gov/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr
17 make CFLAGS="$CFLAGS -I./linux-include"
18 mkdir -p $PKG/usr/sbin $PKG/usr/man/man8
19 make DESTDIR=$PKG install install-man
20 mv $PKG/usr/sbin $PKG/usr/bin
21 chown -R root.root $PKG
22 chmod -R +w $PKG
23 chmod +s $PKG/usr/bin/traceroute
24 }