Add latest version of libpng (#7516)
This commit is contained in:
		| @@ -29,10 +29,11 @@ class Libpng(AutotoolsPackage): | |||||||
|     """libpng is the official PNG reference library.""" |     """libpng is the official PNG reference library.""" | ||||||
|  |  | ||||||
|     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.29.tar.gz" |     url      = "http://download.sourceforge.net/libpng/libpng-1.6.34.tar.gz" | ||||||
|     list_url = "https://sourceforge.net/projects/libpng/files/" |     list_url = "https://sourceforge.net/projects/libpng/files/" | ||||||
|     list_depth = 2 |     list_depth = 2 | ||||||
|  |  | ||||||
|  |     version('1.6.34', '03fbc5134830240104e96d3cda648e71') | ||||||
|     version('1.6.29', '68553080685f812d1dd7a6b8215c37d8') |     version('1.6.29', '68553080685f812d1dd7a6b8215c37d8') | ||||||
|     version('1.6.27', '58698519e9f6126c1caeefc28dbcbd5f') |     version('1.6.27', '58698519e9f6126c1caeefc28dbcbd5f') | ||||||
|     # From http://www.libpng.org/pub/png/libpng.html (2017-01-04) |     # From http://www.libpng.org/pub/png/libpng.html (2017-01-04) | ||||||
| @@ -61,3 +62,8 @@ def configure_args(self): | |||||||
|             'LDFLAGS={0}'.format(self.spec['zlib'].libs.search_flags) |             'LDFLAGS={0}'.format(self.spec['zlib'].libs.search_flags) | ||||||
|         ] |         ] | ||||||
|         return args |         return args | ||||||
|  |  | ||||||
|  |     def check(self): | ||||||
|  |         # Libpng has both 'check' and 'test' targets that are aliases. | ||||||
|  |         # Only need to run the tests once. | ||||||
|  |         make('check') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Adam J. Stewart
					Adam J. Stewart