New package: zopfli-1.0.1

This commit is contained in:
Christian Neukirchen 2016-07-21 18:14:10 +02:00
parent de34c5e2bd
commit 358ba47058

23
srcpkgs/zopfli/template Normal file
View file

@ -0,0 +1,23 @@
# 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
}