diff options
author | 2006-06-11 09:38:51 +0000 | |
---|---|---|
committer | 2006-06-11 09:38:51 +0000 | |
commit | c8fc0621c5d96764e9b7173ae64e1b770cd16ccb (patch) | |
tree | 7ff7619686fef7fbb8379dc8c76323938c05bf3e /dev-util/cppunit/cppunit-1.11.6.ebuild | |
parent | cleanup inherit - fix SRC_URI - depend on new style bglibs - remove unneeded ... (diff) | |
download | gentoo-2-c8fc0621c5d96764e9b7173ae64e1b770cd16ccb.tar.gz gentoo-2-c8fc0621c5d96764e9b7173ae64e1b770cd16ccb.tar.bz2 gentoo-2-c8fc0621c5d96764e9b7173ae64e1b770cd16ccb.zip |
new version (#132495), the m4 issue is fixed, the --as-needed patch is still needed
(Portage version: 2.1)
Diffstat (limited to 'dev-util/cppunit/cppunit-1.11.6.ebuild')
-rw-r--r-- | dev-util/cppunit/cppunit-1.11.6.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/cppunit/cppunit-1.11.6.ebuild b/dev-util/cppunit/cppunit-1.11.6.ebuild new file mode 100644 index 000000000000..e02a841d4ce0 --- /dev/null +++ b/dev-util/cppunit/cppunit-1.11.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/cppunit-1.11.6.ebuild,v 1.1 2006/06/11 09:38:51 george Exp $ + +inherit eutils autotools + +DESCRIPTION="C++ port of the famous JUnit framework for unit testing" +HOMEPAGE="http://cppunit.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" +IUSE="doc" +RESTRICT="test" + +DEPEND="doc? ( app-doc/doxygen + media-gfx/graphviz )" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-1.10.2-asneeded.patch" + AT_M4DIR="${S}/config" eautomake + + elibtoolize +} + +src_compile() { + econf \ + $(use_enable doc doxygen) \ + $(use_enable doc dot) \ + || die "configure failed" + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS BUGS NEWS README THANKS TODO + # the package automatically puts its docs into /usr/share/cppunit + # move them to the standard location and clean up + mv ${D}/usr/share/cppunit/html ${D}/usr/share/doc/${PF} + rm -rf ${D}/usr/share/cppunit +} |