forked from mirrors/nixpkgs
483cd039af
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
22 lines
417 B
Bash
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
|