mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* Refactor Generate Updates PR, Build, and Generate-PR workflows to simplify. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * cargo_c => 0.10.14 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * cargo_c: Build Run on linux/arm/v7. * Adjust more workflows Signed-off-by: Satadru Pramanik <satadru@gmail.com> * cargo_c: Package File Update Run on linux/386 container. --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
31 lines
1.1 KiB
Ruby
31 lines
1.1 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.14'
|
|
license 'LGPL-2.1 and MPL-1.1'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/lu-zero/cargo-c.git'
|
|
git_hashtag "v#{version}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '0f23fe4cd20b5a93305638bb2590215df77524d1b360525a791f7eded771a4a9',
|
|
armv7l: '0f23fe4cd20b5a93305638bb2590215df77524d1b360525a791f7eded771a4a9',
|
|
i686: '8ee676ffbbbe4126998aeb3c2deecfa85db3d755b74504a964f57c533a14fd1d',
|
|
x86_64: '269fe0575a46cc4cccd5af15071ddd14d14901a29a5dab31d4cdf7ee01e5458f'
|
|
})
|
|
|
|
depends_on 'curl' # R
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'openssl' # R
|
|
depends_on 'rust' => :build
|
|
depends_on 'zlib' # R
|
|
end
|