From c1cca33b78b88a90fb5fea7697aaa6f61cb9326d Mon Sep 17 00:00:00 2001 From: Mason X Date: Mon, 16 Jan 2017 13:06:51 -0500 Subject: [PATCH] Add gnu_efi recipe (#985) Signed-off-by: Mason X --- sys-boot/gnu-efi/gnu_efi_kernel-3.0.4.recipe | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sys-boot/gnu-efi/gnu_efi_kernel-3.0.4.recipe diff --git a/sys-boot/gnu-efi/gnu_efi_kernel-3.0.4.recipe b/sys-boot/gnu-efi/gnu_efi_kernel-3.0.4.recipe new file mode 100644 index 00000000000..4c92faa0b9e --- /dev/null +++ b/sys-boot/gnu-efi/gnu_efi_kernel-3.0.4.recipe @@ -0,0 +1,29 @@ +SUMMARY="GNU EFI Library - Kernel support" +DESCRIPTION="Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 (IPF), \ +and IA-32 (x86) platforms using the GNU toolchain and the EFI development \ +environment." +HOMEPAGE="https://sourceforge.net/projects/gnu-efi/" +COPYRIGHT="1999-2007 Hewlett-Packard Co. + 2006-2010 Intel Co." +LICENSE="BSD (3-clause)" +REVISION="1" +SOURCE_URI="http://downloads.sf.net/gnu-efi/gnu-efi-$portVersion.tar.bz2" +CHECKSUM_SHA256="51a00428c3ccb96db24089ed8394843c4f83cf8f42c6a4dfddb4b7c23f2bf8af" +SOURCE_DIR="gnu-efi-$portVersion" + +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE="yes" + +PROVIDES=" + gnu_efi_kernel = $portVersion compat >= 0 + " + +INSTALL() +{ + mkdir -p $includeDir/gnuefi + cd inc/ && rsync -avm --include='*.h' -f 'hide,! */' . $includeDir/gnuefi/ && cd .. + mkdir -p $developLibDir/gnuefi + cp gnuefi/*.lds $developLibDir/gnuefi/ + cp gnuefi/*.S $developLibDir/gnuefi/ + cp gnuefi/*.c $developLibDir/gnuefi/ +}