Last active
August 29, 2015 14:10
-
-
Save ntalbott/bda37447fcba64c5f9c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "formula" | |
class Cargo < Formula | |
homepage "http://crates.io" | |
url "https://github.com/rust-lang/cargo/archive/master.tar.gz" | |
version "wip" | |
head "https://github.com/rust-lang/cargo.git" | |
depends_on "rust" | |
depends_on "cmake" => :build | |
depends_on "pkg-config" => :build | |
def install | |
system "./configure" | |
system "make", "PREFIX=#{prefix}" | |
system "make", "PREFIX=#{prefix}", "install" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Totally doesn't work currently, due to openssl issues. Punted and installed nightly.