2013-04-09 20:34:17 +00:00
|
|
|
class Gistit < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Command-line utility for creating Gists"
|
2015-07-10 20:54:51 +00:00
|
|
|
homepage "https://gistit.herokuapp.com/"
|
2015-01-14 23:22:26 +00:00
|
|
|
url "https://github.com/jrbasso/gistit/archive/v0.1.3.tar.gz"
|
2015-06-13 13:47:26 +00:00
|
|
|
sha256 "b7203c318460c264bd19b35a767da1cef33e5cae2c65b057e401fe20f47e1cca"
|
|
|
|
|
|
|
|
head "https://github.com/jrbasso/gistit.git"
|
2013-04-09 20:34:17 +00:00
|
|
|
|
2015-01-14 23:34:25 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "ef2f453dfcd08d831396992392f377fe8fba96bf" => :yosemite
|
|
|
|
sha1 "20bb22672bfc53b1f51e469846eeece2babdbd65" => :mavericks
|
|
|
|
sha1 "b0be23b824c1ea269c0812a6a8ddaecd6917c549" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2014-06-01 01:39:25 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "jansson"
|
2013-04-09 20:34:17 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
mv "configure.in", "configure.ac" # silence warning
|
|
|
|
system "./autogen.sh", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make"
|
2015-01-14 23:22:26 +00:00
|
|
|
system "make", "install"
|
2013-04-09 20:34:17 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2013-06-09 02:26:20 +00:00
|
|
|
system "#{bin}/gistit", "-v"
|
2013-04-09 20:34:17 +00:00
|
|
|
end
|
|
|
|
end
|