blob: 5bc6d715204cbc55f83f0476afa7125e33d55d78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  | 
require "formula"
class Clib < Formula
  homepage "https://github.com/clibs/clib"
  url "https://github.com/clibs/clib/archive/1.2.0.tar.gz"
  sha1 "811120b049362220f4e0c3316b3ec29324e1b7da"
  bottle do
    cellar :any
    sha1 "c44bb17e2429ee6b3b25dc23c118ea612b3fe51c" => :mavericks
    sha1 "5966db2ded69b2d28cea1e44fa2b629fd4a8f28f" => :mountain_lion
    sha1 "a146278fa12562ead2333d4bb76c2ef17ecaa776" => :lion
  end
  def install
    ENV["PREFIX"] = prefix
    system "make", "install"
  end
  test do
    system "#{bin}/clib", "install", "stephenmathieson/rot13.c"
  end
end
  |