sys-boot/bootcreator: Port to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Fri, 26 May 2017 10:10:00 +0000 (12:10 +0200)
committerDavid Seifert <soap@gentoo.org>
Fri, 26 May 2017 10:26:45 +0000 (12:26 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

sys-boot/bootcreator/bootcreator-1.1.ebuild
sys-boot/bootcreator/bootcreator-1.2.ebuild

index 274359223c868638042c6b6d583f2e9f6fce09f3..6c39fd7daa637948d70f4a298ec2f9f197899110 100644 (file)
@@ -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
 }
index c76c25749513fb8a5c9cda8a26f08a5b79912388..6c39fd7daa637948d70f4a298ec2f9f197899110 100644 (file)
@@ -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
 }