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-06-21 19:15:45 +00:00
url "https://github.com/clibs/clib/archive/1.2.0.tar.gz"
sha1 "811120b049362220f4e0c3316b3ec29324e1b7da"
2014-02-26 13:20:32 +00:00
bottle do
cellar :any
sha1 "c44bb17e2429ee6b3b25dc23c118ea612b3fe51c" => :mavericks
sha1 "5966db2ded69b2d28cea1e44fa2b629fd4a8f28f" => :mountain_lion
sha1 "a146278fa12562ead2333d4bb76c2ef17ecaa776" => :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