CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rsync: added missing files
[crossrootfs.git] / traceroute / Pkgfile
CommitLineData
6dca1d21
JB
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
14754faa 4# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
6dca1d21
JB
5# Depends on:
6
7name=traceroute
8version=1.4a12
9release=1
10source=(ftp://ftp.ee.lbl.gov/$name-$version.tar.gz)
11
12build() {
13 cd $name-$version
8fe37bb5 14
6dca1d21
JB
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr
8fe37bb5 18
6dca1d21
JB
19 make CFLAGS="$CFLAGS -I./linux-include"
20 mkdir -p $PKG/usr/sbin $PKG/usr/man/man8
21 make DESTDIR=$PKG install install-man
8fe37bb5 22
6dca1d21
JB
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}