summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2017-10-29 15:03:18 +0100
committerAmy Liffey <amynka@gentoo.org>2017-10-29 15:03:18 +0100
commit660bf0c77d68fc942e121361652b6da8876f564f (patch)
tree6c73e56fb55e63ee181334356adf479be4f534d1 /sys-boot
parentgames-puzzle/ksokoban: Import 9999 from kde overlay (diff)
downloadgentoo-660bf0c77d68fc942e121361652b6da8876f564f.tar.gz
gentoo-660bf0c77d68fc942e121361652b6da8876f564f.tar.bz2
gentoo-660bf0c77d68fc942e121361652b6da8876f564f.zip
sys-boot/mbr: EAPI 6 bump
Package-Manager: Portage-2.3.8, Repoman-2.3.1
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/mbr/mbr-1.1.11-r1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-boot/mbr/mbr-1.1.11-r1.ebuild b/sys-boot/mbr/mbr-1.1.11-r1.ebuild
new file mode 100644
index 000000000000..c6eb30125d8e
--- /dev/null
+++ b/sys-boot/mbr/mbr-1.1.11-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A replacement master boot record for IBM-PC compatible computers"
+HOMEPAGE="http://www.chiark.greenend.org.uk/~neilt/mbr/"
+SRC_URI="http://www.chiark.greenend.org.uk/~neilt/mbr/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-alpha ~amd64 -ppc -sparc ~x86"
+IUSE="test"
+
+DEPEND="sys-devel/bin86
+ test? ( dev-vcs/rcs )"
+RDEPEND=""
+
+src_prepare() {
+ # do not treat warnings as errors
+ sed -i -e "s: -Werror::" {,harness/}Makefile.{in,am} || die
+ default
+}
+
+src_install() {
+ dosbin install-mbr
+ doman install-mbr.8
+ dodoc AUTHORS ChangeLog install-mbr.8 NEWS README TODO
+}
+
+pkg_postinst() {
+ elog "To install the MBR, run /sbin/install-mbr"
+}