DESCRIPTION="libxml2 - Version 2 of the library to manipulate XML files" 
HOMEPAGE="http://www.xmlsoft.org/" 
SRC_URI="ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz"
CHECKSUM_MD5="8127a65e8c3b08856093099b52599c86"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
	cd libxml2-2.7.8
	libtoolize --force --copy --install
	aclocal
	autoconf
	sed -i 's/$(datadir)\/aclocal/`finddir B_COMMON_DATA_DIRECTORY`\/aclocal/g' M*
	automake
	COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
	./configure --prefix=`finddir B_COMMON_DIRECTORY` \
		--datarootdir=$COMMON_DOCS \
		--docdir=$COMMON_DOCS/doc \
		--mandir=$COMMON_DOCS/man
		LDFLAGS="-lnetwork"
	make
}

INSTALL {
	cd libxml2-2.7.8
	make install
}

TEST {
	cd libxml2-2.7.8
	make tests
}

LICENSE="MIT"
COPYRIGHT="1998-2003 Daniel Veillard.  All Rights Reserved."
