dev-libs/libspt: update to EAPI 6
authorAkinori Hattori <hattya@gentoo.org>
Sat, 8 Jul 2017 08:22:56 +0000 (17:22 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Sat, 8 Jul 2017 08:22:56 +0000 (17:22 +0900)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

dev-libs/libspt/libspt-1.1-r2.ebuild

index af55debe5e61e8ea8f6b2fa9831e4ac55d918ee2..55536d07fd3216748f81e84880c63e5f189d4961 100644 (file)
@@ -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" )