1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 ESVN_REPO_URI="http://ticpp.googlecode.com/svn/trunk/"
9 DESCRIPTION="A completely new interface to TinyXML that uses MANY of the C++ strengths"
10 HOMEPAGE="http://code.google.com/p/ticpp/"
18 DEPEND="dev-util/premake
19 doc? ( app-doc/doxygen sys-apps/sed )"
27 premake --target gnu || die "creating Makefile failed"
30 myconf="CONFIG=Release"
33 emake ${myconf} || die "emake failed"
36 sed -i -e '/GENERATE_HTMLHELP/s:YES:NO:' dox || die "sed failed"
37 doxygen dox || die "doxygen failed"
42 insinto /usr/include/ticpp
43 doins *.h || die "installing headers failed"
46 dolib libticppd.a || die "installing library failed"
48 dolib libticpp.a || die "installing library failed"
51 dodoc {changes,readme,tutorial_gettingStarted,tutorial_ticpp}.txt || \
55 dohtml -r docs/* || die "installing docs failed"