void-packages/srcpkgs/pngquant/template
2021-11-22 20:42:48 +01:00

20 lines
665 B
Bash

# Template file for 'pngquant'
pkgname=pngquant
version=2.17.0
revision=1
build_style=gnu-configure
configure_args="--with-openmp"
hostmakedepends="pkg-config"
makedepends="lcms2-devel libgomp-devel libimagequant-devel libpng-devel"
short_desc="Lossy PNG compressor"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://pngquant.org/"
distfiles="https://github.com/kornelski/pngquant/archive/${version}.tar.gz"
checksum=bc1baa43c814b4416bb63d7b2168d4e5395cfc69a00f8997a595361caa507887
make_check_target=test
case "$XBPS_TARGET_MACHINE" in
x86_64*) configure_args+=" --enable-sse";;
*) configure_args+=" --disable-sse";;
esac