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-11-19 15:45:31 +00:00
|
|
|
sha256 "c7566b4ab3995cd6f459f468f8de80157cf7b231e09f252310b025a93db34db0" => :yosemite
|
|
|
|
sha256 "a5494bed819b037e2ae80aad74748954111e9598213056a1dabbe4d07fdee994" => :mavericks
|
|
|
|
sha256 "e510d11ca3bebbd165dd3c102ed7c3329a917c293bc3aa8f2cb59eccc8bd3232" => :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
|