--- ticpp-0_p20100924.ebuild 2011-07-01 07:54:07.000000000 +0000 +++ ticpp-0_p20120423.ebuild 2012-04-23 11:27:15.191878592 +0000 @@ -1,10 +1,12 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/ticpp/ticpp-0_p20100924.ebuild,v 1.2 2011/07/01 07:54:07 hwoarang Exp $ +EAPI=4 + DESCRIPTION="A completely new interface to TinyXML that uses MANY of the C++ strengths" HOMEPAGE="http://code.google.com/p/ticpp/" -SRC_URI="http://sulmonalug.it/files/mrfree/${P}.tar.bz2" +SRC_URI="http://dev.gentoo.org/~ago/distfiles/${P}.tar.bz2" LICENSE="GPL-2" KEYWORDS="~amd64" @@ -24,7 +26,7 @@ myconf="CONFIG=Release" fi - emake ${myconf} || die "emake failed" + emake ${myconf} if use doc ; then sed -i -e '/GENERATE_HTMLHELP/s:YES:NO:' dox || die "sed failed" @@ -34,18 +36,15 @@ src_install () { insinto /usr/include/ticpp - doins *.h || die "installing headers failed" + doins *.h if use debug ; then - dolib ../lib/libticppd.a || die "installing library failed" + dolib ../lib/libticppd.a else - dolib ../lib/libticpp.a || die "installing library failed" + dolib ../lib/libticpp.a fi - dodoc {changes,readme,tutorial_gettingStarted,tutorial_ticpp}.txt || \ - die "dodoc failed" + dodoc {changes,readme,tutorial_gettingStarted,tutorial_ticpp}.txt - if use doc ; then - dohtml -r docs/* || die "installing docs failed" - fi + use doc && dohtml -r docs/* }