aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-07-11 19:04:49 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-09-02 13:08:25 +0300
commitfa68a9bbe97c89cf67b27c8767c709301e2b433d (patch)
treeeca36c80c0deb2485e5ba59415c93ca520be2ef0 /gnu/packages
parentff43e353a1920a47a763024cd0682f2dc805964b (diff)
downloadgnu-guix-fa68a9bbe97c89cf67b27c8767c709301e2b433d.tar
gnu-guix-fa68a9bbe97c89cf67b27c8767c709301e2b433d.tar.gz
gnu: ghostscript: Add `gs' binary.
This is a followup to commit eb354bdacbf4154ec66038dac07f19bf4ced1fad. * gnu/packages/ghostscript.scm (ghostscript)[arguments]: Create a symlink from `gsc' to `gs' to provide a `gs' binary.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ghostscript.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index f013a734e5..714544c2e6 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -182,7 +182,12 @@ printing, and psresize, for adjusting page sizes.")
(number->string (parallel-job-count))))))
(replace 'install
(lambda _
- (zero? (system* "make" "soinstall")))))))
+ (zero? (system* "make" "soinstall"))))
+ (add-after 'install 'create-gs-symlink
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ ;; some programs depend on having a 'gs' binary available
+ (symlink "gsc" (string-append out "/bin/gs"))))))))
(synopsis "PostScript and PDF interpreter")
(description
"Ghostscript is an interpreter for the PostScript language and the PDF