commit:     bd9d0922aec4371bbfc2628ce195762d0f3969db
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 10:10:00 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri May 26 10:26:45 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9d0922

sys-boot/bootcreator: Port to EAPI 6

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-boot/bootcreator/bootcreator-1.1.ebuild | 24 +++++++++---------------
 sys-boot/bootcreator/bootcreator-1.2.ebuild | 22 ++++++++--------------
 2 files changed, 17 insertions(+), 29 deletions(-)

diff --git a/sys-boot/bootcreator/bootcreator-1.1.ebuild 
b/sys-boot/bootcreator/bootcreator-1.1.ebuild
index 274359223c8..6c39fd7daa6 100644
--- a/sys-boot/bootcreator/bootcreator-1.1.ebuild
+++ b/sys-boot/bootcreator/bootcreator-1.1.ebuild
@@ -1,35 +1,29 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-inherit eutils
+EAPI=6
 
 DESCRIPTION="Simple generator for Forth based BootMenu scripts for Pegasos 
machines"
-
 HOMEPAGE="http://tbs-software.com/morgoth/projects.html";
 SRC_URI="http://tbs-software.com/morgoth/files/bootcreator-src.tar.gz";
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="ppc -*"
 IUSE=""
-DEPEND=""
 
-S=${WORKDIR}/${PN}
+DEPEND=""
 
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-       mv examples/example.bc examples/bootmenu.example
-}
+S=${WORKDIR}
 
 src_compile() {
-       cd ${S}
-       make all || die "Can't compile bootmenu"
+       emake all
 }
 
 src_install() {
-       cd ${S}
        dosbin src/bootcreator
+       dodoc doc/README
+
        insinto /etc
-       doins examples/bootmenu.example
-       dodoc doc/README doc/COPYING
+       newins examples/example.bc bootmenu.example
 }

diff --git a/sys-boot/bootcreator/bootcreator-1.2.ebuild 
b/sys-boot/bootcreator/bootcreator-1.2.ebuild
index c76c2574951..6c39fd7daa6 100644
--- a/sys-boot/bootcreator/bootcreator-1.2.ebuild
+++ b/sys-boot/bootcreator/bootcreator-1.2.ebuild
@@ -1,35 +1,29 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-inherit eutils
+EAPI=6
 
 DESCRIPTION="Simple generator for Forth based BootMenu scripts for Pegasos 
machines"
-
 HOMEPAGE="http://tbs-software.com/morgoth/projects.html";
 SRC_URI="http://tbs-software.com/morgoth/files/bootcreator-src.tar.gz";
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="ppc -*"
 IUSE=""
+
 DEPEND=""
 
 S=${WORKDIR}
 
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-       mv examples/example.bc examples/bootmenu.example
-}
-
 src_compile() {
-       cd ${S}
-       make all || die "Can't compile bootmenu"
+       emake all
 }
 
 src_install() {
-       cd ${S}
        dosbin src/bootcreator
+       dodoc doc/README
+
        insinto /etc
-       doins examples/bootmenu.example
-       dodoc doc/README doc/COPYING
+       newins examples/example.bc bootmenu.example
 }

Reply via email to