2007-02-20 16:24:19 -06:00
|
|
|
# Description: Basic networking applet
|
2008-01-10 08:24:42 -06:00
|
|
|
# URL: http://www.linux-foundation.org/en/Net:Iputils
|
2008-02-01 15:16:04 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2010-04-21 20:11:40 +02:00
|
|
|
# Depends on: sysfsutils
|
2007-02-20 16:24:19 -06:00
|
|
|
|
|
|
|
name=iputils
|
2010-04-20 18:50:09 +02:00
|
|
|
version=s20100418
|
2010-02-14 12:06:22 +01:00
|
|
|
release=1
|
2008-09-17 19:58:58 +02:00
|
|
|
source=(http://www.skbuff.net/iputils/$name-$version.tar.bz2
|
2010-02-14 12:06:22 +01:00
|
|
|
http://crux.nu/files/distfiles/$name-man-$version.tar.xz)
|
2007-02-20 16:24:19 -06:00
|
|
|
|
|
|
|
build() {
|
2008-09-17 19:58:58 +02:00
|
|
|
cd $name-$version
|
2010-02-14 12:06:22 +01:00
|
|
|
|
2008-09-17 19:58:58 +02:00
|
|
|
sed -i "/^CCOPT=/s|-O2|$CFLAGS|;s| -g$||" Makefile
|
|
|
|
make
|
2007-02-20 16:24:19 -06:00
|
|
|
|
2008-09-17 19:58:58 +02:00
|
|
|
install -d $PKG/{{s,}bin,usr/{man/man8,sbin}}
|
|
|
|
install ping{,6} $PKG/bin/
|
|
|
|
install arping $PKG/sbin/
|
2010-02-14 12:06:22 +01:00
|
|
|
install tracepath{,6} traceroute6 clockdiff rarpd rdisc tftpd $PKG/usr/sbin/
|
2008-09-17 19:58:58 +02:00
|
|
|
cp -d $SRC/$name-man-$version/* $PKG/usr/man/man8
|
|
|
|
chmod u+s $PKG/bin/ping{,6} $PKG/usr/sbin/traceroute6
|
2007-02-20 16:24:19 -06:00
|
|
|
}
|