blob: 1a75f1b03093e9cd9814fe4e3987bdc2ca6f1495 (
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 1
sha1 "1ee2695dd358967460b3727931a79d033fb9abe9" => :mavericks
sha1 "f6a2b36e4675c726d727f344665060fd084d8d94" => :mountain_lion
sha1 "5cac12ddf876a1aee0ca068121d02ca806275dec" => :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
|