void-packages/srcpkgs/pngquant/template

26 lines
868 B
Bash
Raw Normal View History

2016-09-01 13:53:57 +02:00
# Template file for 'pngquant'
pkgname=pngquant
2017-04-06 11:45:30 +02:00
version=2.9.1
2016-11-17 13:25:41 +01:00
revision=1
2016-09-01 13:53:57 +02:00
build_style=gnu-configure
2016-11-17 13:25:41 +01:00
create_wrksrc=yes
build_wrksrc="${pkgname}-${version}"
2016-09-01 13:53:57 +02:00
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"
2017-03-03 11:38:26 +01:00
maintainer="Leah Neukirchen <leah@vuxu.org>"
2016-09-01 13:53:57 +02:00
license="GPL-3"
homepage="https://pngquant.org/"
2016-11-17 13:25:41 +01:00
distfiles="https://github.com/pornel/${pkgname}/archive/${version}.tar.gz
2017-04-06 11:45:30 +02:00
https://github.com/ImageOptim/libimagequant/archive/c927fa593a181d304caff3f1ccc91c0da0c02608.tar.gz"
checksum="0601f7c8c5757f4b634e3b172abf5e0f3d5b2922c8eabfd071230394d33e9834
d4f5a8bfcc078a259d1a9d6fa06958aa6381bc14f7bc49b46abeacf162bdb856"
2016-11-17 13:25:41 +01:00
post_extract() {
cp -r libimagequant-*/* ${build_wrksrc}/lib
}