SUMMARY="Archive files using LZSS and Huffman compression (.lzh files)"
DESCRIPTION="
Archive files using LZSS and Huffman compression (.lzh files)
"
LICENSE="lha"
COPYRIGHT="1991, Masaru Oki
	1993-1995, Nobutaka Watazaki
	2000, Tsugio Okamoto et al."
HOMEPAGE="http://sourceforge.jp/projects/lha/" 
SRC_URI="http://jaist.dl.sourceforge.jp/lha/22231/lha-1.14i-ac20050924p1.tar.gz"
CHECKSUM_SHA256="b5261e9f98538816aa9e64791f23cb83f1632ecda61f02e54b6749e9ca5e9ee4"
REVISION="1"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"

PROVIDES="
	lha = $portVersion
	cmd:lha = $portVersion
	"

REQUIRES="
	haiku >= $haikuVersion
	"

BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

BUILD_PREREQUIRES="
	cmd:autoreconf
	cmd:autoconf
	cmd:automake
	cmd:aclocal
	cmd:autoheader
	cmd:libtoolize
	cmd:make
	cmd:gcc
	"

PATCHES="lha-1.14i.patchset"

SOURCE_DIR="lha-1.14i-ac20050924p1"

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

INSTALL()
{
	make install
}

TEST()
{
	make check
}
