nixpkgs/pkgs/os-specific/linux/net-tools/builder.sh
Armijn Hemel 66ea9ba4e7 patch net-tools to make it work nicely with gcc-3.4
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1898
2004-12-17 13:49:04 +00:00

13 lines
215 B
Bash

buildinputs=""
. $stdenv/setup
tar xvfj $src
cd net-tools-*
cp $config config.h
sed "s^/usr/share/man^/share^" < man/Makefile > tmp
mv tmp man/Makefile
patch -p1 < $patch
make
mkdir $out
make BASEDIR=$out install