nixpkgs/pkgs/misc/ghostscript/builder.sh
Eelco Dolstra 8734e020db * ghostscript: force the use of the -fpic flag, otherwise it doesn't
build on x86_64-linux.

svn path=/nixpkgs/trunk/; revision=12380
2008-07-18 14:52:20 +00:00

21 lines
391 B
Bash

source $stdenv/setup
preConfigure=preConfigure
preConfigure() {
# "ijs" is impure: it contains symlinks to /usr/share/automake etc.!
rm -rf ijs/ltmain.sh
}
installPhase() {
make 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