]> arthur.barton.de Git - homebrew-alex.git/blobdiff - Formula/droopy.rb
droopy 20131121 (new formula)
[homebrew-alex.git] / Formula / droopy.rb
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