commit:     f17b404ed37fd1cfbdd0db69d744a691dfb96956
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 09:11:09 2017 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 09:11:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f17b404e

dev-libs/elfio: EAPI 6 bump

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 .../elfio/{elfio-1.0.3.ebuild => elfio-1.0.3-r1.ebuild} | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/dev-libs/elfio/elfio-1.0.3.ebuild 
b/dev-libs/elfio/elfio-1.0.3-r1.ebuild
similarity index 67%
rename from dev-libs/elfio/elfio-1.0.3.ebuild
rename to dev-libs/elfio/elfio-1.0.3-r1.ebuild
index aeb90436b2b..8deb15fb6f8 100644
--- a/dev-libs/elfio/elfio-1.0.3.ebuild
+++ b/dev-libs/elfio/elfio-1.0.3-r1.ebuild
@@ -1,29 +1,30 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-inherit eutils autotools
+EAPI=6
 
-MY_P=ELFIO-${PV}
+inherit autotools
+
+MY_P="ELFIO-${PV}"
 DESCRIPTION="ELF reader and producer implemented as a C++ library"
 HOMEPAGE="http://elfio.sourceforge.net/";
 SRC_URI="mirror://sourceforge/elfio/${MY_P}.tar.gz"
 
-S="${WORKDIR}"/${MY_P}
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
 IUSE=""
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
+PATCHES=( "${FILESDIR}/${P}-shared.patch" )
 
-       epatch "${FILESDIR}"/${P}-shared.patch
+src_prepare() {
+       default
        eautoreconf
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "install failed"
+       emake DESTDIR="${D}" install
        dodoc AUTHORS NEWS README
 }

Reply via email to