2014-02-26 10:50:11 +00:00
|
|
|
class Clib < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Package manager for C programming"
|
2014-02-26 10:50:11 +00:00
|
|
|
homepage "https://github.com/clibs/clib"
|
2015-01-27 09:08:06 +00:00
|
|
|
url "https://github.com/clibs/clib/archive/1.4.2.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "c1f3d98a10955a4ce6c2c100b1ffd341d5e99dcf6e642793d3bfa4ff4a431e13"
|
2014-12-04 16:05:57 +00:00
|
|
|
|
|
|
|
head "https://github.com/clibs/clib.git"
|
2014-02-26 15:11:17 +00:00
|
|
|
|
2014-02-26 13:20:32 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-01-27 09:35:44 +00:00
|
|
|
sha1 "f9d8fc54ec746beb253186b1cb8c30eee5f945d6" => :yosemite
|
|
|
|
sha1 "82d7f283b9c85566f3e1a7337ec998cc11406c66" => :mavericks
|
|
|
|
sha1 "602d091a1490a683a0e07e71df7c26ecf430e353" => :mountain_lion
|
2014-02-26 13:20:32 +00:00
|
|
|
end
|
|
|
|
|
2014-02-26 10:50:11 +00:00
|
|
|
def install
|
|
|
|
ENV["PREFIX"] = prefix
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/clib", "install", "stephenmathieson/rot13.c"
|
|
|
|
end
|
|
|
|
end
|