2014-02-26 10:50:11 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Clib < Formula
|
|
|
|
homepage "https://github.com/clibs/clib"
|
2014-04-19 14:54:27 +00:00
|
|
|
url "https://github.com/clibs/clib/archive/1.1.4.tar.gz"
|
|
|
|
sha1 "b096b9a3dba3583519756b01c02b705468beb8ff"
|
2014-02-26 15:11:17 +00:00
|
|
|
|
2014-02-26 13:20:32 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2014-04-19 14:58:57 +00:00
|
|
|
sha1 "3eebb30b13ab082550e5c2a3ec559553bad913cb" => :mavericks
|
|
|
|
sha1 "17d2da57c3e83d5b99b9eff16ed58160fdba028a" => :mountain_lion
|
|
|
|
sha1 "04c4d4f6e42d1057991a4af18f304fb81cc114b2" => :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
|