summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/pngquant/package.py
blob: 7ceaaf4a88b020073f1adddbe8eeb9274a31e72c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2021 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 Pngquant(AutotoolsPackage):
    """
    pngquant is a command-line utility and a library for lossy compression of
    PNG images.
    """

    homepage = "https://pngquant.org/"
    url      = "http://pngquant.org/pngquant-2.12.5-src.tar.gz"

    version('2.12.5', sha256='3638936cf6270eeeaabcee42e10768d78e4dc07cac9310307835c1f58b140808')

    depends_on('libpng')