diff options
Diffstat (limited to 'sys-boot/gnu-efi/gnu-efi-3.0a-r1.ebuild')
-rw-r--r-- | sys-boot/gnu-efi/gnu-efi-3.0a-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-boot/gnu-efi/gnu-efi-3.0a-r1.ebuild b/sys-boot/gnu-efi/gnu-efi-3.0a-r1.ebuild new file mode 100644 index 000000000000..82f049fde118 --- /dev/null +++ b/sys-boot/gnu-efi/gnu-efi-3.0a-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-boot/gnu-efi/gnu-efi-3.0a-r1.ebuild,v 1.1 2005/04/05 23:18:02 vapier Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="Library for build EFI Applications" +HOMEPAGE="http://developer.intel.com/technology/efi" +SRC_URI="ftp://ftp.hpl.hp.com/pub/linux-ia64/gnu-efi-3.0a.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ia64 ~x86" +IUSE="" + +DEPEND="sys-apps/pciutils" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/gnu-efi-3.0a-lds-redhat.patch +} + +src_compile() { + local iarch + case $ARCH in + ia64) iarch=ia64 ;; + x86) iarch=ia32 ;; + *) die "unknown architecture: $ARCH" ;; + esac + emake CC="$(tc-getCC)" ARCH=${iarch} -j1 || die "emake failed" +} + +src_install() { + make install INSTALLROOT="${D}"/usr || die "install failed" + dodoc README* ChangeLog +} |