void-packages/srcpkgs/zopfli/template
2018-05-19 16:58:52 +02:00

23 lines
631 B
Bash

# Template file for 'zopfli'
pkgname=zopfli
version=1.0.2
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=4a570307c37172d894ec4ef93b6e8e3aacc401e78cbcc51cf85b212dbc379a55
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS -lm"
}
do_install() {
vbin zopfli
vbin zopflipng
vlicense COPYING LICENSE
}