summaryrefslogtreecommitdiff
path: root/var/spack/packages/ghostscript/package.py
blob: 0ab49d425f7ef19aa41efa064764fb63cf5311a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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")