3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/ghostscript/builder.sh
Ludovic Courtès 483cd039af GNU Ghostscript 8.62.0.
In addition, install `libgs.so' and its header files, as well as the
man pages and HTML documentation.  Use the GS fonts provided at
ftp.gnu.org under the `ghostscript' directory.

svn path=/nixpkgs/trunk/; revision=12374
2008-07-17 19:37:18 +00:00

22 lines
417 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=installPhase
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