summary refs log tree commit diff
path: root/pkgs/os-specific/linux/net-tools/builder.sh
blob: c7f9975866aecf136d6d913530d1754d5ea049e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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