homebrew-core/Formula/gistit.rb
Baptiste Fontaine e271d91590 gistit: head added
Closes Homebrew/homebrew#40647.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-06-13 16:50:16 +02:00

31 lines
916 B
Ruby

class Gistit < Formula
desc "Command-line utility for creating Gists"
homepage "http://gistit.herokuapp.com/"
url "https://github.com/jrbasso/gistit/archive/v0.1.3.tar.gz"
sha256 "b7203c318460c264bd19b35a767da1cef33e5cae2c65b057e401fe20f47e1cca"
head "https://github.com/jrbasso/gistit.git"
bottle do
cellar :any
sha1 "ef2f453dfcd08d831396992392f377fe8fba96bf" => :yosemite
sha1 "20bb22672bfc53b1f51e469846eeece2babdbd65" => :mavericks
sha1 "b0be23b824c1ea269c0812a6a8ddaecd6917c549" => :mountain_lion
end
depends_on "autoconf" => :build
depends_on "automake" => :build
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