From 05ada9b996f7f0cede53d8c5453e1c4506a02724 Mon Sep 17 00:00:00 2001 From: Kacper KoƂodziej Date: Wed, 28 Sep 2016 11:13:11 +0200 Subject: app-text/bact: Upgrade to EAPI=6 Closes: https://github.com/gentoo/gentoo/pull/2409 Signed-off-by: David Seifert --- app-text/bact/bact-0.13-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++ app-text/bact/bact-0.13.ebuild | 38 -------------------------------------- 2 files changed, 35 insertions(+), 38 deletions(-) create mode 100644 app-text/bact/bact-0.13-r1.ebuild delete mode 100644 app-text/bact/bact-0.13.ebuild (limited to 'app-text/bact') diff --git a/app-text/bact/bact-0.13-r1.ebuild b/app-text/bact/bact-0.13-r1.ebuild new file mode 100644 index 000000000000..a5b5f5b4bd76 --- /dev/null +++ b/app-text/bact/bact-0.13-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND}" + +HTML_DOCS=( index.html bact.css ) +PATCHES=( "${FILESDIR}/${P}-cpp14.patch" ) + +src_compile() { + emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_test() { + emake test +} + +src_install() { + dobin bact_learn bact_mkmodel bact_classify + einstalldocs +} diff --git a/app-text/bact/bact-0.13.ebuild b/app-text/bact/bact-0.13.ebuild deleted file mode 100644 index 00cd99778b7c..000000000000 --- a/app-text/bact/bact-0.13.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -inherit eutils 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" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}/${P}-cpp14.patch" # bug #594312 -} - -src_compile() { - emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" -} - -src_test() { - emake test -} - -src_install() { - dobin bact_learn bact_mkmodel bact_classify - - dohtml index.html bact.css - dodoc README AUTHORS -} -- cgit v1.2.3-65-gdbad