18 lines
625 B
Bash
18 lines
625 B
Bash
# Template file for 'pngquant'
|
|
pkgname=pngquant
|
|
version=2.11.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-openmp"
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*) configure_args+=" --enable-sse";;
|
|
*) configure_args+=" --disable-sse";;
|
|
esac
|
|
makedepends="lcms2-devel libgomp-devel libimagequant-devel libpng-devel"
|
|
short_desc="Lossy PNG compressor"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-3"
|
|
homepage="https://pngquant.org/"
|
|
distfiles="https://github.com/pornel/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=53076cf79e83d728e766bec2f5925a98543b05b5bd4e03123417bc571a4f31fd
|
|
make_check_target="test"
|