diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:17:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:17:25 +0100 |
commit | 62f82c107c3904ac6917ece47301d2999c7dd90e (patch) | |
tree | 48ddfc2291e77d0e3ad80f6d7c5f403d84ae8414 /app-crypt/sbsigntools/sbsigntools-0.6-r2.ebuild | |
parent | 7fe80ac8764ccbf354f82029a6bce4f96dbb8d5d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-crypt/sbsigntools/sbsigntools-0.6-r2.ebuild')
-rw-r--r-- | app-crypt/sbsigntools/sbsigntools-0.6-r2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-crypt/sbsigntools/sbsigntools-0.6-r2.ebuild b/app-crypt/sbsigntools/sbsigntools-0.6-r2.ebuild new file mode 100644 index 000000000000..519693684dce --- /dev/null +++ b/app-crypt/sbsigntools/sbsigntools-0.6-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +MY_PN="${PN::-1}" + +inherit eutils toolchain-funcs + +DESCRIPTION="Utilities for signing and verifying files for UEFI Secure Boot" +HOMEPAGE="https://launchpad.net/ubuntu/+source/sbsigntool" +SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${MY_PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + dev-libs/openssl:0= + sys-apps/util-linux" +DEPEND="${RDEPEND} + sys-apps/help2man + sys-boot/gnu-efi + sys-libs/binutils-libs + virtual/pkgconfig" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + local iarch + case ${ARCH} in + ia64) iarch=ia64 ;; + x86) iarch=ia32 ;; + amd64) iarch=x86_64 ;; + *) die "unsupported architecture: ${ARCH}" ;; + esac + sed -i "/^EFI_ARCH=/s:=.*:=${iarch}:" configure || die + sed -i 's/-m64$/& -march=x86-64/' tests/Makefile.in || die + sed -i "/^AR /s:=.*:= $(tc-getAR):" lib/ccan/Makefile.in || die #481480 + epatch "${FILESDIR}"/0002-image.c-clear-image-variable.patch + epatch "${FILESDIR}"/0003-Fix-for-multi-sign.patch +} |