mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
cargo_c, bump version (openssl3 issue) (#11051)
This commit is contained in:
@@ -7,9 +7,9 @@ COPYRIGHT="2024 Luca Barbato"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/lu-zero/cargo-c/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="a96f3cc6c63d9901c9583083338d50b0132504bb067f68accc17f4116ed01f72"
|
||||
CHECKSUM_SHA256="922171afb3ceaf6553ff3916ae4663d3743ba22f80725f2300a26b76eb6eb94f"
|
||||
SOURCE_URI_2="https://github.com/lu-zero/cargo-c/releases/download/v$portVersion/Cargo.lock#noarchive"
|
||||
CHECKSUM_SHA256_2="77b5392f238960cf298b83e6d744c872f4180172ffa3c752850320ec051c4828"
|
||||
CHECKSUM_SHA256_2="6c099fe28666e4c6b5da41b65d00de35c9c60ab336c625d845f28055a0e90a7d"
|
||||
SOURCE_DIR="cargo-c-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -38,7 +38,7 @@ BUILD_REQUIRES="
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libgit2$secondaryArchSuffix
|
||||
devel:libssh2$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix >= 1.1
|
||||
devel:libssl$secondaryArchSuffix >= 3
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
@@ -1,49 +0,0 @@
|
||||
SUMMARY="Cargo applet to build and install C-ABI compatibile dynamic and static libraries"
|
||||
DESCRIPTION="It produces and installs a correct pkg-config file, a static \
|
||||
library and a dynamic library, and a C header to be used by any C (and \
|
||||
C-compatible) software."
|
||||
HOMEPAGE="https://github.com/lu-zero/cargo-c"
|
||||
COPYRIGHT="2020 Luca Barbato"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
srcGitRev="cdd0b630eedd53ae6d89cfec9ee0cea8fa83b124"
|
||||
SOURCE_URI="https://github.com/Begasus/cargo-c/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="39da8945db1ee54f051ea69b04d2c0a9c765baffab2c4871427c1d1f96b29e03"
|
||||
SOURCE_DIR="cargo-c-$srcGitRev/32bit"
|
||||
elif [ "$targetArchitecture" = x86_64 ]; then
|
||||
srcGitRev="a703bd97a18326396b7805aa75a6444796fe4605"
|
||||
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="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
DISABLE_SOURCE_PACKAGE="yes"
|
||||
|
||||
PROVIDES="
|
||||
cargo_c_bin$secondaryArchSuffix
|
||||
cmd:cargo_capi = $portVersion
|
||||
cmd:cargo_cbuild = $portVersion
|
||||
cmd:cargo_cinstall = $portVersion
|
||||
cmd:cargo_ctest = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libgit2$secondaryArchSuffix
|
||||
lib:libssh2$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir $prefix/bin
|
||||
cp * $prefix/bin
|
||||
}
|
||||
Reference in New Issue
Block a user