void-packages/srcpkgs/lzo/template

27 lines
687 B
Bash

# Template build file for 'lzo'.
pkgname=lzo
version=2.09
revision=1
build_style=gnu-configure
configure_args="--enable-shared"
short_desc="Portable lossless data compression library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.oberhumer.com/opensource/lzo"
license="GPL-2"
distfiles="http://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz"
checksum=f294a7ced313063c057c504257f437c8335c41bfeed23531ee4e6a2b87bcb34c
post_install() {
rm -r ${DESTDIR}/usr/share/doc
}
lzo-devel_package() {
depends="lzo>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}