2005-12-05 14:11:09 +00:00
|
|
|
source $stdenv/setup
|
2004-08-05 19:30:00 +00:00
|
|
|
|
2005-07-04 12:14:06 +00:00
|
|
|
tar zxvf $src
|
2004-08-05 19:30:00 +00:00
|
|
|
cd iputils
|
|
|
|
|
|
|
|
sed -e "s^KERNEL_INCLUDE=.*$^KERNEL_INCLUDE=$kernelHeaders/include^" < Makefile > Makefile.new
|
|
|
|
|
|
|
|
mv Makefile.new Makefile
|
|
|
|
sed -e "s^LIBC_INCLUDE=.*$^LIBC_INCLUDE=$glibc/include^" < Makefile > Makefile.new
|
|
|
|
mv Makefile.new Makefile
|
|
|
|
|
2005-07-26 13:23:47 +00:00
|
|
|
#make ping arping tracepath
|
2004-08-05 19:30:00 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mkdir -p $out/sbin
|
|
|
|
|
|
|
|
install -c arping $out/sbin/
|
|
|
|
install -c ping $out/bin/
|
|
|
|
install -c ping6 $out/sbin/
|
|
|
|
install -c rdisc $out/sbin/
|
|
|
|
install -c tracepath $out/sbin/
|
|
|
|
install -c tracepath6 $out/sbin/
|
|
|
|
install -c traceroute6 $out/sbin/
|