summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libtiff/package.py
blob: 63c6704cb8f886789e6ae6f5939ca440c9d5de92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from spack import *

class Libtiff(Package):
    """libtiff graphics format library"""
    homepage = "http://www.remotesensing.org/libtiff/"
    url      = "http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz"

    version('4.0.3', '051c1068e6a0627f461948c365290410')

    depends_on('jpeg')
    depends_on('zlib')
    depends_on('xz')

    def install(self, spec, prefix):
        configure("--prefix=%s" % prefix)

        make()
        make("install")