vp-build/srcpkgs/zopfli/template

24 lines
645 B
Bash

# Template file for 'zopfli'
pkgname=zopfli
version=1.0.1
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="Christian Neukirchen <chneukirchen@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/google/zopfli"
distfiles="https://github.com/google/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=29743d727a4e0ecd1b93e0bf89476ceeb662e809ab2e6ab007a0b0344800e9b4
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS -lm"
}
do_install() {
vbin zopfli
vbin zopflipng
vlicense COPYING LICENSE
}