new package: optipng (#12608)

This commit is contained in:
Sinan 2019-08-31 12:41:06 -07:00 committed by Adam J. Stewart
parent ed59a94d04
commit 6ec5cf4bf0

View file

@ -0,0 +1,20 @@
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Optipng(AutotoolsPackage):
"""
OptiPNG is a PNG optimizer that recompresses image files to a smaller
size, without losing any information. This program also converts external
formats (BMP, GIF, PNM and TIFF) to optimized PNG, and performs PNG
integrity checks and corrections.
"""
homepage = "http://optipng.sourceforge.net/"
url = "http://prdownloads.sourceforge.net/optipng/optipng-0.7.7.tar.gz"
version('0.7.7', sha256='4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452')