nixpkgs/pkgs/tools/system/plan9port/builder.sh
Ramakrishnan Muthukrishnan 38e81b5640 plan9port: modify the builder to use the INSTALL script.
plan9port ships with an INSTALL script. This commit modifies the
builder to use the script instead of a custom build script. The
commit also adds a patch to build fontsrv, which is otherwise
omitted from the build.
2014-04-15 18:37:18 +05:30

18 lines
212 B
Bash

source $stdenv/setup
tar xvfz $src
cd plan9
for p in $patches; do
echo "applying patch $p"
patch -p1 < $p
done
./INSTALL -b
./INSTALL -r $out/plan9
export PLAN9=$out/plan9
mkdir -p $PLAN9
cp -R * $PLAN9