nixpkgs/pkgs/os-specific/linux/net-tools/builder.sh

12 lines
196 B
Bash
Raw Normal View History

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
make
mkdir $out
make BASEDIR=$out install