CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
c083759db201a8b701ab91a45953f45ba45c67ff
[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 # Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
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
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr
18
19 make CFLAGS="$CFLAGS -I./linux-include"
20 mkdir -p $PKG/usr/sbin $PKG/usr/man/man8
21 make DESTDIR=$PKG install install-man
22
23 mv $PKG/usr/sbin $PKG/usr/bin
24 chown -R root.root $PKG
25 chmod -R +w $PKG
26 chmod +s $PKG/usr/bin/traceroute
27 }