void-packages/srcpkgs/lzo/template
2015-02-07 18:25:39 +01:00

26 lines
684 B
Text

# 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@gmail.com>"
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"
}
}