aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gistit.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/gistit.rb b/Library/Formula/gistit.rb
new file mode 100644
index 000000000..93c724426
--- /dev/null
+++ b/Library/Formula/gistit.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Gistit < Formula
+ homepage 'http://gistit.herokuapp.com/'
+ url 'https://github.com/jrbasso/gistit/archive/v0.1.1.tar.gz'
+ sha1 '882269ea6f88f46d9ca0a136fa96124c5cc8cd82'
+
+ depends_on :autoconf
+ depends_on :automake
+ depends_on 'jansson'
+
+ def install
+ mv "configure.in", "configure.ac" # silence warning
+ system "./autogen.sh", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ end
+
+ test do
+ system "#{bin}/gistit -v"
+ end
+end