2013-06-12 10:15:40 +00:00
|
|
|
class FbClient < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Shell-script client for http://paste.xinu.at"
|
2015-04-22 21:29:10 +00:00
|
|
|
homepage "https://paste.xinu.at"
|
2015-06-27 23:21:00 +00:00
|
|
|
url "https://paste.xinu.at/data/client/fb-1.4.3.tar.gz"
|
|
|
|
sha256 "4466bc6192f525bb9aaee053d7e7637a97da7e751168dda6ecd7debe74f93986"
|
2015-04-22 21:29:10 +00:00
|
|
|
|
2015-04-23 12:19:52 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-06-27 23:36:51 +00:00
|
|
|
sha256 "e79cb5ad494ad2b72c13da145b2ddf49f057a13a8499a9bd9feaddb5da6b9b2d" => :yosemite
|
|
|
|
sha256 "e6dd96a901a2fe55a560c5ca5dba219d25a6447f63d655714f9b4638821c288e" => :mavericks
|
|
|
|
sha256 "b4bca38efef773ea10969185df3a4db669dd699df1f14883d8d847a6261003f5" => :mountain_lion
|
2015-04-23 12:19:52 +00:00
|
|
|
end
|
|
|
|
|
2015-06-27 23:21:00 +00:00
|
|
|
head "https://git.server-speed.net/users/flo/fb", :using => :git
|
2013-06-12 10:15:40 +00:00
|
|
|
|
2015-04-22 21:29:10 +00:00
|
|
|
conflicts_with "findbugs",
|
2013-08-17 17:20:11 +00:00
|
|
|
:because => "findbugs and fb-client both install a `fb` binary"
|
|
|
|
|
2015-04-22 21:29:10 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
|
2013-06-12 10:15:40 +00:00
|
|
|
def install
|
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
|
|
|
end
|
2015-04-22 21:29:10 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"fb", "-h"
|
|
|
|
end
|
2013-06-12 10:15:40 +00:00
|
|
|
end
|