cargo-c 0.3.1 (new formula)

Helper program to build and install c-like libraries.
Used by gcode-rs, lewton and rav1e to package libraries.

Signed-off-by: David Michael Barr <b@rr-dav.id.au>

Closes #46975.

Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
David Michael Barr 2019-11-20 22:01:48 +09:00 committed by Rui Chen
parent 17cdc33045
commit 06caf48f6a

16
Formula/cargo-c.rb Normal file
View file

@ -0,0 +1,16 @@
class CargoC < Formula
desc "Helper program to build and install c-like libraries"
homepage "https://github.com/lu-zero/cargo-c"
url "https://github.com/lu-zero/cargo-c/archive/v0.3.1.tar.gz"
sha256 "a8e662539218728372f6b8fbbbd72ff2092ecb71fb4ffef7e6a3969a0734e58f"
depends_on "rust" => [:build, :test]
def install
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
end
test do
system "cargo", "cinstall", "--version"
end
end