void-packages/srcpkgs/zopfli/template

24 lines
631 B
Bash

# Template file for 'zopfli'
pkgname=zopfli
version=1.0.3
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-makefile
make_build_args="zopfli zopflipng"
short_desc="Very good, but slow, deflate or zlib compression"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/google/zopfli"
distfiles="https://github.com/google/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=e955a7739f71af37ef3349c4fa141c648e8775bceb2195be07e86f8e638814bd
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS -lm"
}
do_install() {
vbin zopfli
vbin zopflipng
vlicense COPYING LICENSE
}