app-crypt/sbsigntool: add ~arm64.
authorRobin H. Johnson <robbat2@gentoo.org>
Mon, 13 Feb 2017 22:45:31 +0000 (14:45 -0800)
committerRobin H. Johnson <robbat2@gentoo.org>
Mon, 13 Feb 2017 22:51:53 +0000 (14:51 -0800)
Runtime testing performed on Lenovo CaviumX thanks to Packet.net.

Package-Manager: portage-2.3.2
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
app-crypt/sbsigntool/sbsigntool-0.8.ebuild

index 6974d2bd52c2b705523089966a73d1ba2721bb97..312c139d365752d25df82e94097fc8a037f4e68f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,7 @@ SRC_URI="https://dev.gentoo.org/~tamiko/distfiles/${P}.tar.gz
 
 LICENSE="GPL-3 LGPL-3 LGPL-2.1 CC0-1.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="libressl"
 
 RDEPEND="
@@ -31,9 +31,10 @@ S="${WORKDIR}"
 src_prepare() {
        local iarch
        case ${ARCH} in
+               amd64) iarch=x86_64 ;;
+               arm64) iarch=aarch64 ;;
                ia64)  iarch=ia64 ;;
                x86)   iarch=ia32 ;;
-               amd64) iarch=x86_64 ;;
                *)     die "unsupported architecture: ${ARCH}" ;;
        esac
        sed -i "/^EFI_ARCH=/s:=.*:=${iarch}:" configure.ac || die