gentoo-ebuilds/sys-boot/mbr/mbr-1.1.11-r2.ebuild
Arthur Zamarin e7c21c68b0
sys-boot/mbr: Stabilize 1.1.11-r2 amd64, #933758
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-06-07 20:46:36 +03:00

33 lines
775 B
Bash

# 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"
}