summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-04-28 09:51:01 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-04-28 10:05:13 +0300
commitf8677fea6f7f00e4807b0f9467eefe45ec6caedd (patch)
tree54d2ce9a9713097dd52581fca77e48a7115535bd /sys-boot/mbr
parentsys-apps/ed: add 1.20.2 (diff)
downloadgentoo-f8677fea6f7f00e4807b0f9467eefe45ec6caedd.tar.gz
gentoo-f8677fea6f7f00e4807b0f9467eefe45ec6caedd.tar.bz2
gentoo-f8677fea6f7f00e4807b0f9467eefe45ec6caedd.zip
sys-boot/mbr: EAPI 6 -> 8
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sys-boot/mbr')
-rw-r--r--sys-boot/mbr/mbr-1.1.11-r2.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-boot/mbr/mbr-1.1.11-r2.ebuild b/sys-boot/mbr/mbr-1.1.11-r2.ebuild
new file mode 100644
index 000000000000..82f8be0ffca3
--- /dev/null
+++ b/sys-boot/mbr/mbr-1.1.11-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A replacement master boot record for IBM-PC compatible computers"
+HOMEPAGE="https://www.chiark.greenend.org.uk/~neilt/mbr/"
+SRC_URI="https://www.chiark.greenend.org.uk/~neilt/mbr/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="sys-devel/bin86"
+BDEPEND="test? ( dev-vcs/rcs )"
+
+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"
+}