DESCRIPTION="
TinyXML is a simple, small, C++ XML parser that can be easily integrating into \
other programs.
"
HOMEPAGE="http://www.grinninglizard.com/tinyxml/index.html"
SRC_URI="http://en.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Ftinyxml%2Ftinyxml%2F2.6.2%2Ftinyxml_2_6_2.tar.gz"
CHECKSUM_MD5="c1b864c96804a10526540c664ade67f0"
REVISION="1"
STATUS_HAIKU="untested"
DEPEND=""

BUILD()
{
	cd tinyxml
	rm xmltest.cpp
	wget http://libtinyxml.googlecode.com/svn/trunk/CMakeLists.txt
	cmake ./
	make
}

INSTALL()
{
	cd tinyxml
	make install
	mkdir -p ${DESTDIR}`finddir B_COMMON_DEVELOP_DIRECTORY`/tinyxml
	cp ./*.cpp ${DESTDIR}`finddir B_COMMON_DEVELOP_DIRECTORY`/tinyxml
	mkdir -p ${DESTDIR}`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc/tinyxml
	cp ./docs/* ${DESTDIR}`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc/tinyxml
}

LICENSE="Zlib"
COPYRIGHT="2001-2010 Lee Thomason"
