diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-02-06 08:37:22 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-02-06 08:37:22 -0800 |
commit | 457f2d1d51b2bf008f837bf3ce8ee3cb47d5ba6b (patch) | |
tree | 18ba51559ce4ed73ec451612819910170eb12846 | |
parent | ba593ccb260e46568fc2620ad5f300f89495a604 (diff) | |
download | spack-457f2d1d51b2bf008f837bf3ce8ee3cb47d5ba6b.tar.gz spack-457f2d1d51b2bf008f837bf3ce8ee3cb47d5ba6b.tar.bz2 spack-457f2d1d51b2bf008f837bf3ce8ee3cb47d5ba6b.tar.xz spack-457f2d1d51b2bf008f837bf3ce8ee3cb47d5ba6b.zip |
Fix libpng to use a better URL
Sourceforge URLs like this eventually die when the libpng version is bumped:
http://sourceforge.net/projects/libpng/files/libpng16/1.6.14/libpng-1.6.14.tar.gz/download
But ones like this give you a "permanently moved", which curl -L will follow:
http://download.sourceforge.net/libpng/libpng-1.6.16.tar.gz
-rw-r--r-- | var/spack/packages/libpng/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/packages/libpng/package.py b/var/spack/packages/libpng/package.py index a6d9bf0b46..c148a3d58c 100644 --- a/var/spack/packages/libpng/package.py +++ b/var/spack/packages/libpng/package.py @@ -3,12 +3,13 @@ from spack import * class Libpng(Package): """libpng graphics file format""" homepage = "http://www.libpng.org/pub/png/libpng.html" - url = "http://sourceforge.net/projects/libpng/files/libpng16/1.6.14/libpng-1.6.14.tar.gz/download" + url = "http://download.sourceforge.net/libpng/libpng-1.6.16.tar.gz" version('1.6.14', '2101b3de1d5f348925990f9aa8405660') + version('1.6.15', '829a256f3de9307731d4f52dc071916d') + version('1.6.16', '1a4ad377919ab15b54f6cb6a3ae2622d') def install(self, spec, prefix): configure("--prefix=%s" % prefix) - make() make("install") |