homebrew-core/Formula/clib.rb

24 lines
586 B
Ruby
Raw Normal View History

require "formula"
class Clib < Formula
homepage "https://github.com/clibs/clib"
2014-03-18 07:42:11 +00:00
url "https://github.com/clibs/clib/archive/1.1.2.tar.gz"
sha1 "5faace8b907e882293ed5ccbe17ce222d9013694"
2014-02-26 13:20:32 +00:00
bottle do
cellar :any
sha1 "a6697350e19e0ce6102381d4d8a18868655ce19d" => :mavericks
sha1 "42627582b910bdf6348beffbbbf02cf1856ea7aa" => :mountain_lion
sha1 "3e1a8fc43c719a55e3ad0a9e9bab1740aefe3fd6" => :lion
2014-02-26 13:20:32 +00:00
end
def install
ENV["PREFIX"] = prefix
system "make", "install"
end
test do
system "#{bin}/clib", "install", "stephenmathieson/rot13.c"
end
end