void-packages/srcpkgs/lzf/template

30 lines
683 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="Jürgen Buchmüller <pullmoll@t-online.de>"
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
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
}
}