Add latest version of libpng, ncview depends on libpng (#1502)
* Add latest version of libpng * ncview depends on libpng
This commit is contained in:
parent
fd02a140c4
commit
0586b388df
2 changed files with 4 additions and 1 deletions
|
@ -30,6 +30,7 @@ class Libpng(Package):
|
||||||
homepage = "http://www.libpng.org/pub/png/libpng.html"
|
homepage = "http://www.libpng.org/pub/png/libpng.html"
|
||||||
url = "http://download.sourceforge.net/libpng/libpng-1.6.16.tar.gz"
|
url = "http://download.sourceforge.net/libpng/libpng-1.6.16.tar.gz"
|
||||||
|
|
||||||
|
version('1.6.24', '65213080dd30a9b16193d9b83adc1ee9')
|
||||||
version('1.6.16', '1a4ad377919ab15b54f6cb6a3ae2622d')
|
version('1.6.16', '1a4ad377919ab15b54f6cb6a3ae2622d')
|
||||||
version('1.6.15', '829a256f3de9307731d4f52dc071916d')
|
version('1.6.15', '829a256f3de9307731d4f52dc071916d')
|
||||||
version('1.6.14', '2101b3de1d5f348925990f9aa8405660')
|
version('1.6.14', '2101b3de1d5f348925990f9aa8405660')
|
||||||
|
@ -37,9 +38,10 @@ class Libpng(Package):
|
||||||
version('1.4.19', '89bcbc4fc8b31f4a403906cf4f662330')
|
version('1.4.19', '89bcbc4fc8b31f4a403906cf4f662330')
|
||||||
version('1.2.56', '9508fc59d10a1ffadd9aae35116c19ee')
|
version('1.2.56', '9508fc59d10a1ffadd9aae35116c19ee')
|
||||||
|
|
||||||
depends_on('zlib')
|
depends_on('zlib@1.0.4:') # 1.2.5 or later recommended
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure("--prefix=%s" % prefix)
|
configure("--prefix=%s" % prefix)
|
||||||
make()
|
make()
|
||||||
|
make("check")
|
||||||
make("install")
|
make("install")
|
||||||
|
|
|
@ -34,6 +34,7 @@ class Ncview(Package):
|
||||||
|
|
||||||
depends_on("netcdf")
|
depends_on("netcdf")
|
||||||
depends_on("udunits2")
|
depends_on("udunits2")
|
||||||
|
depends_on("libpng")
|
||||||
|
|
||||||
# OS Dependencies
|
# OS Dependencies
|
||||||
# Ubuntu: apt-get install libxaw7-dev
|
# Ubuntu: apt-get install libxaw7-dev
|
||||||
|
|
Loading…
Reference in a new issue