void-packages/srcpkgs/lzo/template
2014-10-10 08:33:38 +02:00

26 lines
684 B
Text

# Template build file for 'lzo'.
pkgname=lzo
version=2.08
revision=2
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=ac1b3e4dee46febe9fd28737eb7f5692d3232ef1a01da10444394c3d47536614
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"
}
}