aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorRené Hansen2013-04-09 22:34:17 +0200
committerAdam Vandenberg2013-05-06 10:40:45 -0700
commitc3f83ea68483287fe2b9b32f95107d996c001cb5 (patch)
tree8ea1e79aca4b95c006c363dccce4ef37ddf85599 /Library
parent549b6f9346b50f4e5841ac300da3e82802582686 (diff)
downloadhomebrew-c3f83ea68483287fe2b9b32f95107d996c001cb5.tar.bz2
gistit 0.1.1
a tool to create gists from cli Closes #19086. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-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