SUMMARY="A very fast file compressor"
DESCRIPTION="Lempel-Ziv-Oberhumer Packer, lzop is a file compressor similar \
to gzip. Its main advantages over gzip are much higher compression and \
decompression speed at the cost of some compression ratio."
HOMEPAGE="https://www.lzop.org/"
COPYRIGHT="1996-2017 Markus Franz Xaver
	Johannes Oberhumer"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="https://www.lzop.org/download/lzop-$portVersion.tar.gz"
CHECKSUM_SHA256="7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41"

ARCHITECTURES="all"

PROVIDES="
	lzop = $portVersion
	cmd:lzop = $portVersion
	"
REQUIRES="
	haiku
	lib:liblzo2
	"

BUILD_REQUIRES="
	haiku_devel
	devel:liblzo2
	"
BUILD_PREREQUIRES="
	cmd:aclocal
	cmd:autoconf
	cmd:awk
	cmd:gcc
	cmd:make
	"

BUILD()
{
	autoreconf -vfi
	runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}
