diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-08-06 14:07:56 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-08-06 14:07:56 +0000 |
commit | 8ffeaeffc4d5c442caaf08efe324c3aa8181035b (patch) | |
tree | 4166a296d3e2063e1bb9f8edfca842f03a842711 /dev-util/cppunit | |
parent | Stable ppc ppc64, bug #423531 (diff) | |
download | gentoo-2-8ffeaeffc4d5c442caaf08efe324c3aa8181035b.tar.gz gentoo-2-8ffeaeffc4d5c442caaf08efe324c3aa8181035b.tar.bz2 gentoo-2-8ffeaeffc4d5c442caaf08efe324c3aa8181035b.zip |
Version bump to latest.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/cppunit')
-rw-r--r-- | dev-util/cppunit/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/cppunit/cppunit-1.13.0.ebuild | 48 |
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-util/cppunit/ChangeLog b/dev-util/cppunit/ChangeLog index 61790d4c2e81..e30ac21dfa2b 100644 --- a/dev-util/cppunit/ChangeLog +++ b/dev-util/cppunit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/cppunit # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/ChangeLog,v 1.64 2012/05/09 19:22:50 mattst88 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/ChangeLog,v 1.65 2012/08/06 14:07:56 scarabeus Exp $ + +*cppunit-1.13.0 (06 Aug 2012) + + 06 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> +cppunit-1.13.0.ebuild: + Version bump to latest. 09 May 2012; Matt Turner <mattst88@gentoo.org> cppunit-1.12.1-r1.ebuild: Added ~mips. diff --git a/dev-util/cppunit/cppunit-1.13.0.ebuild b/dev-util/cppunit/cppunit-1.13.0.ebuild new file mode 100644 index 000000000000..dfbae9e36d54 --- /dev/null +++ b/dev-util/cppunit/cppunit-1.13.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/cppunit-1.13.0.ebuild,v 1.1 2012/08/06 14:07:56 scarabeus Exp $ + +EAPI=4 + +inherit eutils flag-o-matic + +DESCRIPTION="C++ port of the famous JUnit framework for unit testing" +HOMEPAGE="http://cppunit.sourceforge.net/" +SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc examples static-libs" + +RDEPEND="" +DEPEND="${RDEPEND} + doc? ( + app-doc/doxygen + media-gfx/graphviz + )" + +DOCS=( AUTHORS ChangeLog BUGS NEWS README THANKS TODO doc/FAQ ) + +src_configure() { + # Anything else than -O0 breaks on alpha + use alpha && replace-flags "-O?" -O0 + + econf \ + $(use_enable static-libs static) \ + $(use_enable doc doxygen) \ + $(use_enable doc dot) \ + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html +} + +src_install() { + default + + find "${ED}" -name '*.la' -exec rm -f {} + + + if use examples ; then + find examples -iname "*.o" -delete + insinto /usr/share/${PN} + doins -r examples + fi +} |