Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/mbr/
Date: Sun, 29 Oct 2017 14:06:01
Message-Id: 1509285798.660bf0c77d68fc942e121361652b6da8876f564f.amynka@gentoo
1 commit: 660bf0c77d68fc942e121361652b6da8876f564f
2 Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 29 14:03:18 2017 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 29 14:03:18 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=660bf0c7
7
8 sys-boot/mbr: EAPI 6 bump
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.1
11
12 sys-boot/mbr/mbr-1.1.11-r1.ebuild | 33 +++++++++++++++++++++++++++++++++
13 1 file changed, 33 insertions(+)
14
15 diff --git a/sys-boot/mbr/mbr-1.1.11-r1.ebuild b/sys-boot/mbr/mbr-1.1.11-r1.ebuild
16 new file mode 100644
17 index 00000000000..c6eb30125d8
18 --- /dev/null
19 +++ b/sys-boot/mbr/mbr-1.1.11-r1.ebuild
20 @@ -0,0 +1,33 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +DESCRIPTION="A replacement master boot record for IBM-PC compatible computers"
27 +HOMEPAGE="http://www.chiark.greenend.org.uk/~neilt/mbr/"
28 +SRC_URI="http://www.chiark.greenend.org.uk/~neilt/mbr/${P}.tar.gz"
29 +
30 +LICENSE="GPL-2"
31 +SLOT="0"
32 +KEYWORDS="-alpha ~amd64 -ppc -sparc ~x86"
33 +IUSE="test"
34 +
35 +DEPEND="sys-devel/bin86
36 + test? ( dev-vcs/rcs )"
37 +RDEPEND=""
38 +
39 +src_prepare() {
40 + # do not treat warnings as errors
41 + sed -i -e "s: -Werror::" {,harness/}Makefile.{in,am} || die
42 + default
43 +}
44 +
45 +src_install() {
46 + dosbin install-mbr
47 + doman install-mbr.8
48 + dodoc AUTHORS ChangeLog install-mbr.8 NEWS README TODO
49 +}
50 +
51 +pkg_postinst() {
52 + elog "To install the MBR, run /sbin/install-mbr"
53 +}