3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/net-tools/builder.sh
Eelco Dolstra e5fd37f35d * Added net-tools (for ifconfig, route, hostname).
svn path=/nixpkgs/trunk/; revision=805
2004-02-19 12:46:35 +00:00

14 lines
211 B
Bash
Executable file

#! /bin/sh -e
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