commit:     c1a9f9465003e2f54483034271d225fcc6cff5f3
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 19:44:10 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 19:44:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1a9f946

sci-mathematics/jags: Remove 'autotools-utils.eclass', EAPI=6

Package-Manager: portage-2.2.27

 sci-mathematics/jags/jags-4.1.0.ebuild | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/sci-mathematics/jags/jags-4.1.0.ebuild 
b/sci-mathematics/jags/jags-4.1.0.ebuild
index fc1d9f9..8e83927 100644
--- a/sci-mathematics/jags/jags-4.1.0.ebuild
+++ b/sci-mathematics/jags/jags-4.1.0.ebuild
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-inherit autotools-utils toolchain-funcs
+inherit eutils toolchain-funcs
 
 MYP="JAGS-${PV}"
 
@@ -30,18 +30,17 @@ DEPEND="${RDEPEND}
 S="${WORKDIR}/${MYP}"
 
 src_configure() {
-       local myeconfargs=(
-               --with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
+       econf \
+               --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
                --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)"
-       )
-       autotools-utils_src_configure
 }
 
 src_compile() {
-       autotools-utils_src_compile all $(usex doc docs "")
+       emake all $(usex doc docs "")
 }
 
 src_install() {
-       autotools-utils_src_install
-       use doc && dodoc "${BUILD_DIR}"/doc/manual/*.pdf
+       default
+       use doc && dodoc doc/manual/*.pdf
+       prune_libtool_files
 }

Reply via email to