1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils versionator
9 MY_P=${PN}-$(replace_version_separator 2 '-')
10 DESCRIPTION="C++ unit test framework"
11 HOMEPAGE="http://unittest.red-bean.com"
12 SRC_URI="http://unittest.red-bean.com/tar/${MY_P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
22 epatch "${FILESDIR}/makefile-remove-test.patch"
26 dodoc docs/* || die "Install failed"
28 insinto /usr/include/${PN}
29 doins include/* || die "Install failed"
31 dolib.a lib/libunittest.a || die
35 make test || die "Tests failed"