Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/bact/bact-0.13.ebuild,v 1.1 2005/12/24 18:58:09 usata Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/bact/bact-0.13.ebuild,v 1.1 2005/12/24 18:58:09 usata Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit toolchain-funcs |
6 |
|
5 |
DESCRIPTION="Boosting Algorithm for Classification of Trees" |
7 |
DESCRIPTION="Boosting Algorithm for Classification of Trees" |
6 |
HOMEPAGE="http://chasen.org/~taku/software/bact/" |
8 |
HOMEPAGE="http://chasen.org/~taku/software/bact/" |
7 |
SRC_URI="http://chasen.org/~taku/software/bact/${P}.tar.gz" |
9 |
SRC_URI="http://chasen.org/~taku/software/bact/${P}.tar.gz" |
Lines 12-25
Link Here
|
12 |
IUSE="" |
14 |
IUSE="" |
13 |
|
15 |
|
14 |
DEPEND="" |
16 |
DEPEND="" |
|
|
17 |
RDEPEND="${DEPEND}" |
18 |
|
19 |
src_compile() { |
20 |
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" |
21 |
} |
15 |
|
22 |
|
16 |
src_test() { |
23 |
src_test() { |
17 |
make test || die |
24 |
make test || die |
18 |
} |
25 |
} |
19 |
|
26 |
|
20 |
src_install() { |
27 |
src_install() { |
21 |
dobin bact_learn bact_mkmodel bact_classify || die |
28 |
dobin bact_learn bact_mkmodel bact_classify || die "dobin failed" |
22 |
|
29 |
|
23 |
dohtml index.html bact.css |
30 |
dohtml index.html bact.css || die "dohtml failed" |
24 |
dodoc README AUTHORS |
31 |
dodoc README AUTHORS || die "dodoc failed" |
25 |
} |
32 |
} |