aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/clib.rb
blob: 6310cdf31d04d02f966baed17fed0a288aed18af (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.1.4.tar.gz"
  sha1 "b096b9a3dba3583519756b01c02b705468beb8ff"

  bottle do
    cellar :any
    sha1 "3eebb30b13ab082550e5c2a3ec559553bad913cb" => :mavericks
    sha1 "17d2da57c3e83d5b99b9eff16ed58160fdba028a" => :mountain_lion
    sha1 "04c4d4f6e42d1057991a4af18f304fb81cc114b2" => :lion
  end

  def install
    ENV["PREFIX"] = prefix
    system "make", "install"
  end

  test do
    system "#{bin}/clib", "install", "stephenmathieson/rot13.c"
  end
end