summaryrefslogtreecommitdiff
blob: 0c5a0a478a0ef1792d27e2f5e2a4c2f0f8ebe8b6 (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
30
31
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/syslinux/syslinux-1.76.ebuild,v 1.1 2005/01/10 00:26:54 vapier Exp $

DESCRIPTION="SysLinux, IsoLinux and PXELinux bootloader"
HOMEPAGE="http://syslinux.zytor.com/"
SRC_URI="mirror://kernel/linux/utils/boot/syslinux/Old/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* x86"
IUSE=""

DEPEND="dev-lang/nasm"
RDEPEND=""

src_unpack() {
	unpack ${A}
	cd ${S}
	sed -i '/^#/s:^#: #:' memdisk/init.S16 || die "fixing # comments"
}

src_compile() {
	emake -j1 depend || die "make depend failed"
	emake || die "make failed"
}

src_install() {
	make INSTALLROOT="${D}" install || die
	dodoc README NEWS TODO *.doc
}