diff options
Diffstat (limited to 'sys-boot/gnu-efi/gnu-efi-3.0g.ebuild')
-rw-r--r-- | sys-boot/gnu-efi/gnu-efi-3.0g.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-boot/gnu-efi/gnu-efi-3.0g.ebuild b/sys-boot/gnu-efi/gnu-efi-3.0g.ebuild new file mode 100644 index 000000000000..25c70228b664 --- /dev/null +++ b/sys-boot/gnu-efi/gnu-efi-3.0g.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +MY_P="${PN}_${PV}" + +DESCRIPTION="Library for build EFI Applications" +HOMEPAGE="http://developer.intel.com/technology/efi" +SRC_URI="mirror://sourceforge/gnu-efi/${MY_P}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ia64 ~x86" +IUSE="" + +DEPEND="sys-apps/pciutils" + +S="${WORKDIR}"/${PN}-3.0 + +src_compile() { + local iarch + case $ARCH in + ia64) iarch=ia64 ;; + x86) iarch=ia32 ;; + amd64) iarch=x86_64 ;; + *) 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 +} |