a92d370caa
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')"
30 lines
688 B
Bash
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
|
|
}
|
|
}
|