summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ghostscript/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/ghostscript/package.py')
-rw-r--r--var/spack/repos/builtin/packages/ghostscript/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ghostscript/package.py b/var/spack/repos/builtin/packages/ghostscript/package.py
new file mode 100644
index 0000000000..0ab49d425f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ghostscript/package.py
@@ -0,0 +1,17 @@
+from spack import *
+
+class Ghostscript(Package):
+ """an interpreter for the PostScript language and for PDF. """
+ homepage = "http://ghostscript.com/"
+ url = "http://downloads.ghostscript.com/public/ghostscript-9.16.tar.gz"
+
+ version('9.16', '829319325bbdb83f5c81379a8f86f38f')
+
+ parallel = False
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" %prefix, "--enable-shared")
+
+ make()
+ make("install")
+