cargo_c_bin, fix some architecture statements (#9724)

* 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 <jerome.duval@gmail.com>
This commit is contained in:
Schrijvers Luc
2023-11-02 15:44:51 +00:00
committed by GitHub
parent cd9ca68f99
commit a37465b2e9

View File

@@ -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