Skip to content

Instantly share code, notes, and snippets.

@ntalbott
Last active August 29, 2015 14:10
Show Gist options
  • Save ntalbott/bda37447fcba64c5f9c4 to your computer and use it in GitHub Desktop.
Save ntalbott/bda37447fcba64c5f9c4 to your computer and use it in GitHub Desktop.
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
@ntalbott
Copy link
Author

Totally doesn't work currently, due to openssl issues. Punted and installed nightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment