aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/liblacewing.rb
blob: 981be0b8607e6762027f9372d06211b479e1f552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require "formula"

class Liblacewing < Formula
  homepage "http://lacewing-project.org/"
  head "https://github.com/udp/lacewing.git"
  url "https://github.com/udp/lacewing/archive/0.5.4.tar.gz"
  sha1 "078486a4dcd6ce33c2c881954c5dc82843411ac9"
  revision 1

  bottle do
    cellar :any
    revision 2
    sha1 "9b3c6627a900002583cd2d179997f507c23e2967" => :yosemite
    sha1 "13c32999ea5cdb9e5c231cd3854d35ebb5bb82d2" => :mavericks
    sha1 "dd1d9ee994fe2a4114063a382712c341591da3f5" => :mountain_lion
  end

  depends_on "openssl"

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make"
    system "make", "install"

    # https://github.com/udp/lacewing/issues/104
    mv "#{lib}/liblacewing.dylib.0.5", "#{lib}/liblacewing.0.5.dylib"
  end
end