17 lines
593 B
Bash
17 lines
593 B
Bash
# Template file for 'pngquant'
|
|
pkgname=pngquant
|
|
version=2.7.1
|
|
revision=2
|
|
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 libpng-devel"
|
|
short_desc="Lossy PNG compressor"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
license="GPL-3"
|
|
homepage="https://pngquant.org/"
|
|
distfiles="https://github.com/pornel/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=e8645bea07ef255c102f053d3566ac00e64005aa0e68a2c9f00bc39e575f1dfd
|