From a37465b2e9e375f186beaedb0c26dd770b6bc879 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 2 Nov 2023 15:44:51 +0000 Subject: [PATCH] cargo_c_bin, fix some architecture statements (#9724) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * cargo_c_bin, fix some architecture statements * Update cargo_c_bin-0.9.27.recipe * Update cargo_c_bin-0.9.27.recipe --------- Co-authored-by: Jérôme Duval --- dev-rust/cargo_c/cargo_c_bin-0.9.27.recipe | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-rust/cargo_c/cargo_c_bin-0.9.27.recipe b/dev-rust/cargo_c/cargo_c_bin-0.9.27.recipe index 5a4e2a834..250116352 100644 --- a/dev-rust/cargo_c/cargo_c_bin-0.9.27.recipe +++ b/dev-rust/cargo_c/cargo_c_bin-0.9.27.recipe @@ -5,7 +5,7 @@ C-compatible) software." HOMEPAGE="https://github.com/lu-zero/cargo-c" COPYRIGHT="2020 Luca Barbato" LICENSE="MIT" -REVISION="1" +REVISION="2" if [ "$targetArchitecture" = x86_gcc2 ]; then srcGitRev="cdd0b630eedd53ae6d89cfec9ee0cea8fa83b124" SOURCE_URI="https://github.com/Begasus/cargo-c/archive/$srcGitRev.tar.gz" @@ -16,10 +16,14 @@ elif [ "$targetArchitecture" = x86_64 ]; then SOURCE_URI="https://github.com/Begasus/cargo-c/archive/$srcGitRev.tar.gz" CHECKSUM_SHA256="0af0cef06db1aa7d46ca6ce60ad89bc1ca0c3705c51a7f80f6f87e0b2b84d8f7" SOURCE_DIR="cargo-c-$srcGitRev/64bit" +else + SOURCE_URI="https://github.com/lu-zero/cargo-c/archive/$portVersion.tar.gz" + CHECKSUM_SHA256="" fi -ARCHITECTURES="all !x86_gcc2" +ARCHITECTURES="!x86_gcc2 x86_64" SECONDARY_ARCHITECTURES="x86" +DISABLE_SOURCE_PACKAGE="yes" PROVIDES=" cargo_c_bin$secondaryArchSuffix