2005-12-05 15:11:09 +01:00
|
|
|
source $stdenv/setup
|
2005-08-21 18:11:25 +02:00
|
|
|
|
|
|
|
export DESTDIR=$out
|
|
|
|
|
2007-02-20 15:59:11 +01:00
|
|
|
# Hack to prevent dhclient from overriding the PATH specified with
|
|
|
|
# '-e' on the command-line.
|
|
|
|
makeFlags="CLIENT_PATH='\"FAKE_PATH=/nothing\"'"
|
|
|
|
|
2007-02-20 15:20:16 +01:00
|
|
|
configurePhase=configurePhase
|
2005-08-21 18:11:25 +02:00
|
|
|
configurePhase() {
|
2007-02-20 15:20:16 +01:00
|
|
|
./configure
|
|
|
|
prefix=$out
|
2005-08-21 18:11:25 +02:00
|
|
|
}
|
|
|
|
|
2007-02-20 15:20:16 +01:00
|
|
|
preBuild=preBuild
|
2005-10-12 22:32:57 +02:00
|
|
|
preBuild() {
|
2007-02-20 15:20:16 +01:00
|
|
|
substituteInPlace client/scripts/linux --replace /bin/bash $shell
|
2005-10-12 22:32:57 +02:00
|
|
|
}
|
|
|
|
|
2005-08-21 18:11:25 +02:00
|
|
|
genericBuild
|