From 8ddb91f4415ec59e30b6c4a35d601c0872997171 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 8 Feb 2010 23:57:05 +0000 Subject: Version bump, and work around parallel make issue, and respect LDFLAGS (bug #248408). (Portage version: 2.2_rc62/cvs/Linux i686) --- sys-boot/netboot/netboot-0.10.2.ebuild | 51 ++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 sys-boot/netboot/netboot-0.10.2.ebuild (limited to 'sys-boot/netboot/netboot-0.10.2.ebuild') diff --git a/sys-boot/netboot/netboot-0.10.2.ebuild b/sys-boot/netboot/netboot-0.10.2.ebuild new file mode 100644 index 000000000000..fb1a54ea7c36 --- /dev/null +++ b/sys-boot/netboot/netboot-0.10.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/netboot/netboot-0.10.2.ebuild,v 1.1 2010/02/08 23:57:04 jer Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs + +DESCRIPTION="netbooting utility" +HOMEPAGE="http://netboot.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-libs/lzo-2 + >=sys-libs/db-4" +RDEPEND="${DEPEND} + !net-misc/mknbi" + +src_prepare() { + cp -av make.config.in{,.org} + epatch "${FILESDIR}"/${P}-ldflags.patch + find "${S}" -name \*.lo -exec rm {} \; +} + +src_configure() { + econf --enable-bootrom --with-gnu-cc86="$(tc-getCC)" \ + --with-gnu-as86="$(tc-getAS)" --with-gnu-ld86="$(tc-getCC)"|| die 'cannot configure' + # --enable-config-file +} + +src_compile() { + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc README doc/* + docinto FlashCard + dodoc FlashCard/README FlashCard/*.ps + mv "${D}"/usr/share/misc "${D}"/usr/share/${PN} + rm -rf "${D}"/usr/lib/netboot/utils + + dodoc "${S}"/mknbi-dos/utils/mntnbi.pl + + insinto /usr/share/vim/vimfiles/syntax + doins "${S}"/mknbi-mgl/misc/mgl.vim +} -- cgit v1.2.3-65-gdbad