megacmd 0.012

This commit is contained in:
Sorin Ionescu 2014-03-17 00:01:44 -04:00 committed by Adam Vandenberg
parent b7ce633e13
commit 6e7578a89f

20
Formula/megacmd.rb Normal file
View file

@ -0,0 +1,20 @@
require "formula"
class Megacmd < Formula
homepage "https://github.com/t3rm1n4l/megacmd"
url "https://github.com/t3rm1n4l/megacmd/archive/0.012.tar.gz"
sha1 "30690366ef00b64296cd4acca6f842d83dcc9d69"
head "https://github.com/t3rm1n4l/megacmd.git"
depends_on "go" => :build
def install
ENV["GOPATH"] = buildpath
system "make"
bin.install File.basename(buildpath) => "megacmd"
end
test do
system "megacmd", "--version"
end
end