# Template build file for 'lzo'.
pkgname=lzo
version=2.06
revision=3
build_style=gnu-configure
configure_args="--enable-shared=yes"
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=ff79e6f836d62d3f86ef6ce893ed65d07e638ef4d3cb952963471b4234d43e73
long_desc="
 LZO is a portable lossless data compression library written in ANSI
 C. It offers pretty fast compression and very fast decompression.
 Decompression requires no memory.

 In addition there are slower compression levels achieving a quite
 competitive compression ratio while still decompressing at this
 very high speed."

lzo-devel_package() {
	depends="lzo>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
	}
}

lzo_package() {
	pkg_install() {
		vmove usr
	}
}