1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/os-specific/linux/iputils/builder.sh
Yury G. Kudryashov 6e7217a2da iputils: builder rewritten, open-max.patch added
svn path=/nixpkgs/branches/stdenv-updates/; revision=9818
2007-12-01 20:04:38 +00:00

19 lines
427 B
Bash

source $stdenv/setup
makeFlags="KERNEL_INCLUDE=$kernelHeaders/include LIBC_INCLUDE=$glibc/include"
preConfigure="sed -e 's@check-kernel @@' -i Makefile"
installPhase="
mkdir -pv $out/bin $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/
";
genericBuild