void-packages/srcpkgs/lzf/template
Đoàn Trần Công Danh a92d370caa srcpkgs: add patch_args=-Np0 en-mass
Generated with:

	git ls-files 'srcpkgs/**/patches/*' |
	cut -d/ -f2 | uniq |
	xargs printf 'srcpkgs/%s/template\n'  |
	xargs grep -L 'patch_args=' |
	xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
2021-06-20 13:17:29 +07:00

30 lines
688 B
Bash

# Template file for 'lzf'
pkgname=lzf
version=3.6
revision=1
wrksrc="lib${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="automake"
short_desc="Extremely fast compression algorithm"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="http://software.schmorp.de/pkg/liblzf.html"
distfiles="http://dist.schmorp.de/liblzf/lib${pkgname}-${version}.tar.gz"
checksum=9c5de01f7b9ccae40c3f619d26a7abec9986c06c36d260c179cedd04b89fb46a
patch_args=-Np0
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}
liblzf-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/liblzf.a
vmove usr/include
}
}