DESCRIPTION="
CHMLIB is a library for dealing with Microsoft ITSS/CHM format files.
" 
HOMEPAGE="http://www.jedrea.com/chmlib/" 
SRC_URI="http://www.jedrea.com/chmlib/chmlib-0.40.zip"
CHECKSUM_MD5="a20d86103b8ab369e5b93506d5ffa802"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
	cd chmlib-0.40
	rm aclocal.m4
	rm acinclude.m4
	libtoolize --force --copy --install
	aclocal
	sed -i 's/lpthread//g' configure.in Makefile.in src/Makefile.in
	autoconf
	automake
	chmod 777 configure
	./configure	--prefix=`finddir B_COMMON_DIRECTORY`
	make
}

INSTALL()
{
	cd chmlib-0.40
	make install
}

LICENSE="GNU LGPL v2.1"
COPYRIGHT="2003 Jed Wing"
