2005-12-05 15:11:09 +01:00
|
|
|
source $stdenv/setup
|
2004-08-05 21:30:00 +02:00
|
|
|
|
2005-07-04 14:14:06 +02:00
|
|
|
tar zxvf $src
|
2004-08-05 21:30:00 +02: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 15:23:47 +02:00
|
|
|
#make ping arping tracepath
|
2004-08-05 21:30:00 +02: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/
|