gnu: ghostscript: Build and install shared library and header files.

* gnu/packages/ghostscript (ghostscript): Extend build and install phases.
This commit is contained in:
Andreas Enge 2013-01-22 23:48:08 +01:00
parent 67668155c5
commit 2b902c3c46

View file

@ -150,7 +150,19 @@ (define-public ghostscript
(("/bin/sh") (which "bash")))
(substitute* "base/unixhead.mak"
(("/bin/sh") (which "bash")))))
%standard-phases)))
(alist-replace
'build
(lambda* (#:key #:allow-other-keys #:rest args)
(let ((build (assoc-ref %standard-phases 'build)))
(apply build args)
(system* "make" "so")))
(alist-replace
'install
(lambda* (#:key #:allow-other-keys #:rest args)
(let ((install (assoc-ref %standard-phases 'install)))
(apply install args)
(system* "make" "install-so")))
%standard-phases)))))
(synopsis "GNU Ghostscript, an interpreter for the PostScript language and for PDF")
(description
"GNU Ghostscript is an interpreter for PostScript and Portable Document