void-packages/srcpkgs/lzo/template

28 lines
715 B
Bash

# Template build file for 'lzo'.
pkgname=lzo
version=2.10
revision=2
build_style=gnu-configure
configure_args="--enable-shared"
short_desc="Portable lossless data compression library"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://www.oberhumer.com/opensource/lzo"
license="GPL-2"
distfiles="http://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz"
checksum=c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072
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"
vmove usr/lib/pkgconfig
}
}