summaryrefslogtreecommitdiff
path: root/var/spack/packages/libtiff/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/packages/libtiff/package.py')
-rw-r--r--var/spack/packages/libtiff/package.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/packages/libtiff/package.py b/var/spack/packages/libtiff/package.py
new file mode 100644
index 0000000000..ec54cf7adf
--- /dev/null
+++ b/var/spack/packages/libtiff/package.py
@@ -0,0 +1,16 @@
+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')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")