summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libpng/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/libpng/package.py')
-rw-r--r--var/spack/repos/builtin/packages/libpng/package.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libpng/package.py b/var/spack/repos/builtin/packages/libpng/package.py
new file mode 100644
index 0000000000..e02b08663e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libpng/package.py
@@ -0,0 +1,15 @@
+from spack import *
+
+class Libpng(Package):
+ """libpng graphics file format"""
+ homepage = "http://www.libpng.org/pub/png/libpng.html"
+ url = "http://download.sourceforge.net/libpng/libpng-1.6.16.tar.gz"
+
+ version('1.6.16', '1a4ad377919ab15b54f6cb6a3ae2622d')
+ version('1.6.15', '829a256f3de9307731d4f52dc071916d')
+ version('1.6.14', '2101b3de1d5f348925990f9aa8405660')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+ make()
+ make("install")