2009-03-23 22:31:30 +01:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
tar xvfz $src
|
|
|
|
|
|
|
|
cd plan9
|
|
|
|
|
2014-04-15 04:24:36 +02:00
|
|
|
for p in $patches; do
|
|
|
|
echo "applying patch $p"
|
|
|
|
patch -p1 < $p
|
|
|
|
done
|
2009-03-23 22:31:30 +01:00
|
|
|
|
2014-04-15 04:24:36 +02:00
|
|
|
./INSTALL -b
|
|
|
|
./INSTALL -r $out/plan9
|
2009-03-23 22:31:30 +01:00
|
|
|
|
2014-04-15 04:24:36 +02:00
|
|
|
export PLAN9=$out/plan9
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $PLAN9
|
2009-03-23 22:31:30 +01:00
|
|
|
cp -R * $PLAN9
|