commit:     6aa55ac4f972749a72a4240de823ce87c6a460a3
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  8 08:22:56 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Jul  8 08:22:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa55ac4

dev-libs/libspt: update to EAPI 6

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 dev-libs/libspt/libspt-1.1-r2.ebuild | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/dev-libs/libspt/libspt-1.1-r2.ebuild 
b/dev-libs/libspt/libspt-1.1-r2.ebuild
index af55debe5e6..55536d07fd3 100644
--- a/dev-libs/libspt/libspt-1.1-r2.ebuild
+++ b/dev-libs/libspt/libspt-1.1-r2.ebuild
@@ -1,9 +1,7 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
-
-inherit base
+EAPI="6"
 
 DESCRIPTION="Library for handling root privilege"
 #HOMEPAGE="http://www.j10n.org/libspt/index.html";
@@ -16,12 +14,4 @@ KEYWORDS="alpha amd64 ppc x86"
 IUSE=""
 RESTRICT="test"
 
-src_prepare() {
-       epatch "${FILESDIR}/${PN}-gentoo.patch"
-}
-
-src_install() {
-       emake DESTDIR="${D}" install || die
-
-       dodoc CHANGES
-}
+PATCHES=( "${FILESDIR}/${PN}-gentoo.patch" )

Reply via email to