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