2005-12-05 14:11:09 +00:00
|
|
|
source $stdenv/setup
|
2005-08-21 17:11:25 +01:00
|
|
|
|
|
|
|
export DESTDIR=$out
|
|
|
|
|
|
|
|
configurePhase() {
|
|
|
|
./configure
|
|
|
|
prefix=$out
|
|
|
|
}
|
|
|
|
|
2005-10-12 21:32:57 +01:00
|
|
|
preBuild() {
|
|
|
|
sed -e "s^@nettools\@^$nettools^g" \
|
|
|
|
-e "s^@coreutils\@^$coreutils^g" \
|
2005-10-16 22:48:27 +01:00
|
|
|
-e "s^@bash\@^$bash^g" \
|
2005-10-12 21:32:57 +01:00
|
|
|
-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
|
|
|
|
|
2005-08-21 17:11:25 +01:00
|
|
|
configurePhase=configurePhase
|
|
|
|
|
|
|
|
genericBuild
|