nixpkgs/pkgs/misc/ghostscript/builder.sh
Eelco Dolstra 839eb46cda * Fix installing the Ghostscript fonts.
svn path=/nixpkgs/trunk/; revision=12408
2008-07-23 14:40:16 +00:00

19 lines
380 B
Bash

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