--- app-text/bact/bact-0.13.ebuild 24 Dec 2005 18:58:09 -0000 1.1 +++ app-text/bact/bact-0.13.ebuild 5 May 2009 13:05:31 -0000 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/bact/bact-0.13.ebuild,v 1.1 2005/12/24 18:58:09 usata Exp $ +inherit toolchain-funcs + DESCRIPTION="Boosting Algorithm for Classification of Trees" HOMEPAGE="http://chasen.org/~taku/software/bact/" SRC_URI="http://chasen.org/~taku/software/bact/${P}.tar.gz" @@ -12,14 +14,19 @@ IUSE="" DEPEND="" +RDEPEND="${DEPEND}" + +src_compile() { + emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" +} src_test() { make test || die } src_install() { - dobin bact_learn bact_mkmodel bact_classify || die + dobin bact_learn bact_mkmodel bact_classify || die "dobin failed" - dohtml index.html bact.css - dodoc README AUTHORS + dohtml index.html bact.css || die "dohtml failed" + dodoc README AUTHORS || die "dodoc failed" }