commit:     0ebd890d06a5e81afd8a69e331acede6fca821ac
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Jan 11 13:55:34 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sun Jan 11 13:55:34 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0ebd890d

sci-libs/matio: Move to EAPI=5, use autotools-utils

---
 sci-libs/matio/ChangeLog          |  6 +++++-
 sci-libs/matio/matio-1.3.4.ebuild | 21 +++++++++++----------
 2 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/sci-libs/matio/ChangeLog b/sci-libs/matio/ChangeLog
index 620f108..bed9be2 100644
--- a/sci-libs/matio/ChangeLog
+++ b/sci-libs/matio/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-libs/matio
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  11 Jan 2015; Marius Brehler <[email protected]> matio-1.3.4.ebuild:
+  Move to EAPI=5, cleanup the ebuild
+
+
   21 Jun 2011; Justin Lecher <[email protected]> matio-1.3.4.ebuild:
   Added fortran-2.eclass support
 

diff --git a/sci-libs/matio/matio-1.3.4.ebuild 
b/sci-libs/matio/matio-1.3.4.ebuild
index 5f948f6..8471e8c 100644
--- a/sci-libs/matio/matio-1.3.4.ebuild
+++ b/sci-libs/matio/matio-1.3.4.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
-inherit autotools eutils fortran-2
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+inherit autotools-utils eutils fortran-2
 
 DESCRIPTION="Library for reading and writing matlab files"
 HOMEPAGE="http://sourceforge.net/projects/matio/";
@@ -16,23 +18,22 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 #DEPEND="doc? ( app-doc/doxygen virtual/latex-base )"
 RDEPEND=""
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-autotools.patch
-       eautoreconf
-}
+PATCHES=( "${FILESDIR}/${P}"-autotools.patch )
 
 src_configure() {
-       econf \
+       local myeconfargs=(
                --docdir="${EPREFIX}/usr/share/doc/${PF}" \
                --enable-shared \
                --disable-test \
                $(use_enable fortran) \
-               $(use_enable doc docs) \
+               #$(use_enable doc docs) \
                $(use_enable static-libs static)
+       )
+       autotools-utils_src_configure
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
+       autotools-utils_src_install
        dodoc README ChangeLog
        #if use doc; then
        #       insinto /usr/share/doc/${PF}

Reply via email to