nixpkgs/pkgs/misc/ghostscript/builder.sh
Eelco Dolstra 51ca4a6a91 * Various purity fixes for Ghostscript.
svn path=/nixpkgs/trunk/; revision=6452
2006-09-04 11:01:37 +00:00

16 lines
306 B
Bash

source $stdenv/setup
preConfigure=preConfigure
preConfigure() {
# "ijs" is impure: it contains symlinks to /usr/share/automake etc.!
rm -rf ijs/ltmain.sh
}
postInstall=postInstall
postInstall() {
for i in $fonts; do
(cd $out/share/ghostscript && tar xvfz $i)
done
}
genericBuild