mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* cargo_c -> 0.10.21+cargo-0.95.0-rust1.93 in updater-cargo_c-0.10.21+cargo-0.95.0-rust1.93 * Update cargo_c version. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * crew_rust_ver_default => 1.94 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * updater-cargo_c-0.10.21+cargo-0.95.0-rust1.93: Package File Update Run on linux/386 container. * updater-cargo_c-0.10.21+cargo-0.95.0-rust1.93: Package File Update Run on linux/amd64 container. * updater-cargo_c-0.10.21+cargo-0.95.0-rust1.93: Package File Update Run on linux/arm/v7 container. --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: chromebrew-actions[bot] <220035932+chromebrew-actions[bot]@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
31 lines
1.2 KiB
Ruby
31 lines
1.2 KiB
Ruby
# Adapted from Arch Linux cargo-c PKGBUILD at:
|
|
# https://github.com/archlinux/svntogit-community/raw/packages/cargo-c/trunk/PKGBUILD
|
|
# NOTE: This package should be updated along with new Rust releases.
|
|
|
|
require 'buildsystems/rust'
|
|
|
|
class Cargo_c < RUST
|
|
description 'A cargo subcommand to build and install C-ABI compatible dynamic and static libraries'
|
|
homepage 'https://github.com/lu-zero/cargo-c/'
|
|
version "0.10.21-#{CREW_RUST_VER}"
|
|
license 'LGPL-2.1 and MPL-1.1'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/lu-zero/cargo-c.git'
|
|
git_hashtag "v#{version.split('-').first}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'f3237d2cf60838ea8f610d98b3a7ff4845beb6905760dfade72bba529a3fc6cc',
|
|
armv7l: 'f3237d2cf60838ea8f610d98b3a7ff4845beb6905760dfade72bba529a3fc6cc',
|
|
i686: '3bd2220487606febf676b6b50c4ea841eda3570b57316a6cdab628eb4e4b7dbf',
|
|
x86_64: '8ec826659ecce5e0b7bcff5777cff4a4447090bcc9a594c5345ec0e52b7d52ef'
|
|
})
|
|
|
|
depends_on 'curl' => :executable
|
|
depends_on 'gcc_lib' => :executable
|
|
depends_on 'glibc' => :executable
|
|
depends_on 'openssl' => :executable
|
|
depends_on 'rust' => :build
|
|
depends_on 'zlib' => :executable
|
|
end
|