From c3f83ea68483287fe2b9b32f95107d996c001cb5 Mon Sep 17 00:00:00 2001 From: René Hansen Date: Tue, 9 Apr 2013 22:34:17 +0200 Subject: gistit 0.1.1 a tool to create gists from cli Closes #19086. Signed-off-by: Adam Vandenberg --- Library/Formula/gistit.rb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Library/Formula/gistit.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3