2014-02-26 10:50:11 +00:00
|
|
|
class Clib < Formula
|
|
|
|
homepage "https://github.com/clibs/clib"
|
2014-12-18 09:36:12 +00:00
|
|
|
url "https://github.com/clibs/clib/archive/1.4.1.tar.gz"
|
|
|
|
sha1 "f1d5dbd76d8ad75204d182f9db1b197e311fa25e"
|
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
|
2014-12-18 10:36:51 +00:00
|
|
|
sha1 "3c00a49b63b1aebd8455fcc4294910c619df0539" => :yosemite
|
|
|
|
sha1 "54593525512d3d10f18fcac29e8fece198242f75" => :mavericks
|
|
|
|
sha1 "9ff299d4acd909c7087237788c8dff55a4247ea4" => :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
|