You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-boot/mbr/mbr-1.1.11.ebuild

34 lines
871 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/mbr/mbr-1.1.11.ebuild,v 1.3 2012/06/13 07:29:07 jdhore Exp $
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_unpack() {
unpack ${A}
cd "${S}"
# do not treat warnings as errors
sed -i -e "s: -Werror::" {,harness/}Makefile.{in,am}
}
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"
}