2014-10-26 11:25:25 +08:00
|
|
|
from spack import *
|
|
|
|
|
2014-10-26 11:59:01 +08:00
|
|
|
class Libtiff(Package):
|
2014-10-26 11:25:25 +08:00
|
|
|
"""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')
|
2014-12-26 08:09:42 +08:00
|
|
|
depends_on('zlib')
|
|
|
|
depends_on('xz')
|
2014-10-26 11:25:25 +08:00
|
|
|
|
|
|
|
def install(self, spec, prefix):
|
|
|
|
configure("--prefix=%s" % prefix)
|
|
|
|
|
|
|
|
make()
|
|
|
|
make("install")
|