Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/bootcreator/
Date: Fri, 26 May 2017 10:27:23
Message-Id: 1495794405.bd9d0922aec4371bbfc2628ce195762d0f3969db.soap@gentoo
1 commit: bd9d0922aec4371bbfc2628ce195762d0f3969db
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 26 10:10:00 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri May 26 10:26:45 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9d0922
7
8 sys-boot/bootcreator: Port to EAPI 6
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 sys-boot/bootcreator/bootcreator-1.1.ebuild | 24 +++++++++---------------
13 sys-boot/bootcreator/bootcreator-1.2.ebuild | 22 ++++++++--------------
14 2 files changed, 17 insertions(+), 29 deletions(-)
15
16 diff --git a/sys-boot/bootcreator/bootcreator-1.1.ebuild b/sys-boot/bootcreator/bootcreator-1.1.ebuild
17 index 274359223c8..6c39fd7daa6 100644
18 --- a/sys-boot/bootcreator/bootcreator-1.1.ebuild
19 +++ b/sys-boot/bootcreator/bootcreator-1.1.ebuild
20 @@ -1,35 +1,29 @@
21 -# Copyright 1999-2011 Gentoo Foundation
22 +# Copyright 1999-2017 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 -inherit eutils
26 +EAPI=6
27
28 DESCRIPTION="Simple generator for Forth based BootMenu scripts for Pegasos machines"
29 -
30 HOMEPAGE="http://tbs-software.com/morgoth/projects.html"
31 SRC_URI="http://tbs-software.com/morgoth/files/bootcreator-src.tar.gz"
32 +
33 LICENSE="GPL-2"
34 SLOT="0"
35 KEYWORDS="ppc -*"
36 IUSE=""
37 -DEPEND=""
38
39 -S=${WORKDIR}/${PN}
40 +DEPEND=""
41
42 -src_unpack() {
43 - unpack ${A}
44 - cd ${S}
45 - mv examples/example.bc examples/bootmenu.example
46 -}
47 +S=${WORKDIR}
48
49 src_compile() {
50 - cd ${S}
51 - make all || die "Can't compile bootmenu"
52 + emake all
53 }
54
55 src_install() {
56 - cd ${S}
57 dosbin src/bootcreator
58 + dodoc doc/README
59 +
60 insinto /etc
61 - doins examples/bootmenu.example
62 - dodoc doc/README doc/COPYING
63 + newins examples/example.bc bootmenu.example
64 }
65
66 diff --git a/sys-boot/bootcreator/bootcreator-1.2.ebuild b/sys-boot/bootcreator/bootcreator-1.2.ebuild
67 index c76c2574951..6c39fd7daa6 100644
68 --- a/sys-boot/bootcreator/bootcreator-1.2.ebuild
69 +++ b/sys-boot/bootcreator/bootcreator-1.2.ebuild
70 @@ -1,35 +1,29 @@
71 -# Copyright 1999-2011 Gentoo Foundation
72 +# Copyright 1999-2017 Gentoo Foundation
73 # Distributed under the terms of the GNU General Public License v2
74
75 -inherit eutils
76 +EAPI=6
77
78 DESCRIPTION="Simple generator for Forth based BootMenu scripts for Pegasos machines"
79 -
80 HOMEPAGE="http://tbs-software.com/morgoth/projects.html"
81 SRC_URI="http://tbs-software.com/morgoth/files/bootcreator-src.tar.gz"
82 +
83 LICENSE="GPL-2"
84 SLOT="0"
85 KEYWORDS="ppc -*"
86 IUSE=""
87 +
88 DEPEND=""
89
90 S=${WORKDIR}
91
92 -src_unpack() {
93 - unpack ${A}
94 - cd ${S}
95 - mv examples/example.bc examples/bootmenu.example
96 -}
97 -
98 src_compile() {
99 - cd ${S}
100 - make all || die "Can't compile bootmenu"
101 + emake all
102 }
103
104 src_install() {
105 - cd ${S}
106 dosbin src/bootcreator
107 + dodoc doc/README
108 +
109 insinto /etc
110 - doins examples/bootmenu.example
111 - dodoc doc/README doc/COPYING
112 + newins examples/example.bc bootmenu.example
113 }