summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/pngquant/package.py
blob: a569086dae43585044647d2c645136c0dba9c1db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2023 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.package import *


class Pngquant(AutotoolsPackage):
    """
    pngquant is a command-line utility and a library for lossy compression of
    PNG images.
    """

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

    license("GPL-3.0-or-later")

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

    depends_on("libpng")