aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSorin Ionescu2014-03-17 00:01:44 -0400
committerAdam Vandenberg2014-06-21 09:04:08 -0700
commit4988b40938af2927d62db6fe7754423dc8a1bac8 (patch)
tree8e451c52d4448b61c7cca27ff7d60ffcbd4bfa69 /Library/Formula
parentfa06adbd76520bb4cf6248f7c39ad81fed206b96 (diff)
downloadhomebrew-4988b40938af2927d62db6fe7754423dc8a1bac8.tar.bz2
megacmd 0.012
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/megacmd.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/megacmd.rb b/Library/Formula/megacmd.rb
new file mode 100644
index 000000000..99e8fb0fb
--- /dev/null
+++ b/Library/Formula/megacmd.rb
@@ -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