1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 DESCRIPTION="A completely new interface to TinyXML that uses MANY of the C++ strengths"
6 HOMEPAGE="http://code.google.com/p/ticpp/"
7 SRC_URI="http://sulmonalug.it/files/mrfree/${P}.tar.bz2"
14 DEPEND="dev-util/premake
15 doc? ( app-doc/doxygen sys-apps/sed )"
21 premake --target gnu || die "creating Makefile failed"
24 myconf="CONFIG=Release"
27 emake ${myconf} || die "emake failed"
30 sed -i -e '/GENERATE_HTMLHELP/s:YES:NO:' dox || die "sed failed"
31 doxygen dox || die "doxygen failed"
36 insinto /usr/include/ticpp
37 doins *.h || die "installing headers failed"
40 dolib ../lib/libticppd.a || die "installing library failed"
42 dolib ../lib/libticpp.a || die "installing library failed"
45 dodoc {changes,readme,tutorial_gettingStarted,tutorial_ticpp}.txt || \
49 dohtml -r docs/* || die "installing docs failed"