nixpkgs/pkgs/tools/networking/dhcp/builder.sh
Armijn Hemel bcb78a4ab7 make dhclient work
svn path=/nixpkgs/trunk/; revision=4077
2005-10-12 20:32:57 +00:00

24 lines
409 B
Bash
Executable File

. $stdenv/setup
export DESTDIR=$out
configurePhase() {
./configure
prefix=$out
}
preBuild() {
sed -e "s^@nettools\@^$nettools^g" \
-e "s^@coreutils\@^$coreutils^g" \
-e "s^@iputils\@^$iputils^g" \
-e "s^@gnused\@^$gnused^g" \
< client/scripts/linux > client/scripts/linux.tmp
mv client/scripts/linux.tmp client/scripts/linux
}
preBuild=preBuild
configurePhase=configurePhase
genericBuild