mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
sys-boot/gnu-efi: import from portage
Just copying the ebuilds from portage/ so hopefully no functional changes. BUG=chromium-os:26016 TEST=`cbuildbot arm-generic-full` works TEST=build_packages+build_image for x86-alex boots Change-Id: Ica9a5b88342bbdbf29bbe027bd7b91d8d3aa1e93 Reviewed-on: https://gerrit.chromium.org/gerrit/15432 Reviewed-by: Matt Tennant <mtennant@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
bd01d19909
commit
4ff289ea16
2
sdk_container/src/third_party/portage-stable/sys-boot/gnu-efi/Manifest
vendored
Normal file
2
sdk_container/src/third_party/portage-stable/sys-boot/gnu-efi/Manifest
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
DIST gnu-efi_3.0i-2.diff.gz 4838 RMD160 b6113d71f3ec616e55840ce89848fcc335074e8a SHA1 48a79fb85bdab45697310c6eff69ee414b89c4ad SHA256 4488db1978215e06a6e859fb75491d7f5bd5a6821e70be0ba604f0de628a442f
|
||||
DIST gnu-efi_3.0i.orig.tar.gz 135068 RMD160 c73924116b56e8d4394bdb17cf08a267b6c33f97 SHA1 a4f9bd00e777452648e0d57b32080e63f54f2ee1 SHA256 13bea8e387984e04d93e14004a2e24539802fb2bd42cac112c8a816395d95366
|
46
sdk_container/src/third_party/portage-stable/sys-boot/gnu-efi/gnu-efi-3.0i.ebuild
vendored
Normal file
46
sdk_container/src/third_party/portage-stable/sys-boot/gnu-efi/gnu-efi-3.0i.ebuild
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2010 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.0i.ebuild,v 1.1 2010/01/10 16:34:24 armin76 Exp $
|
||||
|
||||
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"
|
||||
SRC_URI="${SRC_URI} mirror://debian/pool/main/g/gnu-efi/gnu-efi_3.0i-2.diff.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ia64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-apps/pciutils"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
ebegin Applying ../*.diff
|
||||
# Using epatch on this is annoying because it wants to create the elilo-3.6/
|
||||
# directory. Since all the files are new, it doesn't know better.
|
||||
filterdiff -p1 -i debian/\* ../*.diff | patch -s -p1
|
||||
eend $? || return
|
||||
}
|
||||
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user