mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
@@ -3,13 +3,13 @@ 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="2024 Luca Barbato"
|
||||
COPYRIGHT="2019-present Luca Barbato"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/lu-zero/cargo-c/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c4532dd2bf23769df5f64649d5b0c037fb2a29467c74d16a54bad3054d9f3f3a"
|
||||
CHECKSUM_SHA256="0f2b699be7ad5cac05624701065ae521c7f6b8159bdbcb8103445fc2440d1a7e"
|
||||
SOURCE_URI_2="https://github.com/lu-zero/cargo-c/releases/download/v$portVersion/Cargo.lock#noarchive"
|
||||
CHECKSUM_SHA256_2="7272f41442713ce20c42198fdf9128a77b539ded1649872ab88dc1411db8dee4"
|
||||
CHECKSUM_SHA256_2="14e438039df865fbd1d4c68bc4ed61a2ee015c12f41bb47b942d4ee316d49d31"
|
||||
SOURCE_DIR="cargo-c-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -40,7 +40,6 @@ BUILD_REQUIRES="
|
||||
devel:libssh2$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix >= 3
|
||||
devel:libz$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix >= 1.1
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cargo$secondaryArchSuffix
|
||||
@@ -52,7 +51,7 @@ BUILD()
|
||||
{
|
||||
cp $sourceDir2/Cargo.lock Cargo.lock
|
||||
|
||||
cargo fetch --locked
|
||||
cargo fetch
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
Reference in New Issue
Block a user