sci-mathematics/jags: Remove 'autotools-utils.eclass', EAPI=6
authorDavid Seifert <soap@gentoo.org>
Thu, 21 Jan 2016 19:44:10 +0000 (20:44 +0100)
committerDavid Seifert <soap@gentoo.org>
Thu, 21 Jan 2016 19:44:10 +0000 (20:44 +0100)
Package-Manager: portage-2.2.27

sci-mathematics/jags/jags-4.1.0.ebuild

index fc1d9f9f58e5b140fc92e186611595e4307f2367..8e839279ad74457dd67886456d9e829a7a425bd9 100644 (file)
@@ -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
 }