void-packages/srcpkgs/zopfli/template

23 lines
656 B
Bash

# Template file for 'zopfli'
pkgname=zopfli
version=1.0.3
revision=2
build_style=cmake
configure_args=-DZOPFLI_BUILD_SHARED=ON
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
zopfli-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}