droopy 20131121 (new formula)
authorAlexander Barton <alex@barton.de>
Sun, 17 Jan 2016 00:07:03 +0000 (01:07 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 17 Jan 2016 00:07:03 +0000 (01:07 +0100)
Signed-off-by: Alexander Barton <alex@barton.de>
Formula/droopy.rb [new file with mode: 0644]

diff --git a/Formula/droopy.rb b/Formula/droopy.rb
new file mode 100644 (file)
index 0000000..8797538
--- /dev/null
@@ -0,0 +1,17 @@
+class Droopy < Formula
+  desc "Mini web server that let others upload files to your computer"
+  homepage "https://github.com/stackp/Droopy"
+  url "https://github.com/stackp/Droopy.git", :revision => "b7b0bb9d003aed019bc5303e854089cd3e44f64c"
+  version "20131121"
+
+  depends_on :python if MacOS.version <= :snow_leopard
+
+  def install
+    bin.install "droopy"
+    man1.install "man/droopy.1"
+  end
+
+  test do
+    system "#{bin}/droopy", "--help"
+  end
+end