summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-04-08 21:19:13 +0200
committerHarmen Stoppels <harmenstoppels@gmail.com>2022-04-11 11:42:45 +0200
commit92531ca773fff3667fa7393ebefbe66a489a6d82 (patch)
tree34f71edee00e4ab4cb2e71e97f27714d57030300 /var
parent495dd612183ea54393a5a5dc473972fc1790c9fd (diff)
downloadspack-92531ca773fff3667fa7393ebefbe66a489a6d82.tar.gz
spack-92531ca773fff3667fa7393ebefbe66a489a6d82.tar.bz2
spack-92531ca773fff3667fa7393ebefbe66a489a6d82.tar.xz
spack-92531ca773fff3667fa7393ebefbe66a489a6d82.zip
libimagequant: remove custom phases, make it a Makefile package
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libimagequant/package.py15
1 files changed, 4 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/libimagequant/package.py b/var/spack/repos/builtin/packages/libimagequant/package.py
index c1a5b9a21c..c0d5e94635 100644
--- a/var/spack/repos/builtin/packages/libimagequant/package.py
+++ b/var/spack/repos/builtin/packages/libimagequant/package.py
@@ -4,22 +4,15 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-class Libimagequant(Package):
+class Libimagequant(MakefilePackage):
"""Small, portable C library for high-quality conversion of RGBA images to
- 8-bit indexed-color (palette) images."""
+ 8-bit indexed-color (palette) images.
+ """
homepage = "https://pngquant.org/lib/"
url = "https://github.com/ImageOptim/libimagequant/archive/2.12.6.tar.gz"
version('2.12.6', sha256='b34964512c0dbe550c5f1b394c246c42a988cd73b71a76c5838aa2b4a96e43a0')
- phases = ['configure', 'build', 'install']
-
- def configure(self, spec, prefix):
+ def edit(self, spec, prefix):
configure('--prefix=' + prefix)
-
- def build(self, spec, prefix):
- make()
-
- def install(self, spec, prefix):
- make('install')