summaryrefslogtreecommitdiff
blob: 972e2e0535ffacc558b1791be4b7db2a0f20b822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/mbr/mbr-1.1.5.ebuild,v 1.1 2002/10/25 10:43:26 woodchip 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"
DEPEND="virtual/glibc"
KEYWORDS="~x86 -ppc -sparc -sparc64 -alpha"
LICENSE="GPL-2"
SLOT="0"

src_compile() {
	./configure || die
	emake || die
}

src_install() {
	into /
	dosbin install-mbr
	doman install-mbr.8
	dodoc AUTHORS ChangeLog COPYING INSTALL install-mbr.8 NEWS README TODO
}

pkg_postinst() {
	einfo
	einfo "To install the MBR, run /sbin/install-mbr"
	einfo
}