blob: 9147a6b7740a7116ff7bbc6efcd82db8d4c1b63d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cppunit/cppunit-1.8.0.ebuild,v 1.8 2004/06/25 02:24:04 agriffis Exp $
IUSE=""
DESCRIPTION="CppUnit is the C++ port of the famous JUnit framework for unit testing."
HOMEPAGE="http://cppunit.sourceforge.net/"
SRC_URI="http://unc.dl.sourceforge.net/sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="x86 ~ppc ~sparc ~amd64"
DEPEND="app-doc/doxygen
media-gfx/graphviz"
src_compile() {
econf || die "./configure failed"
emake || die
#make check || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS BUGS COPYING 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
}
|