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