void-packages/srcpkgs/zopfli/template
Oliver Nutter 43c98a178b zopfli: build with cmake; add a devel subpkg
remove unnecessary vlicense

Closes #23986
Closes #24003
2021-01-21 14:51:52 -03:00

23 lines
698 B
Bash

# Template file for 'zopfli'
pkgname=zopfli
version=1.0.3
revision=2
wrksrc="${pkgname}-${pkgname}-${version}"
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
}
}