homebrew-core/Formula/liblacewing.rb

29 lines
772 B
Ruby
Raw Normal View History

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
2014-08-22 18:04:05 +00:00
bottle do
cellar :any
2014-10-21 13:18:16 +00:00
revision 2
sha1 "9b3c6627a900002583cd2d179997f507c23e2967" => :yosemite
sha1 "13c32999ea5cdb9e5c231cd3854d35ebb5bb82d2" => :mavericks
sha1 "dd1d9ee994fe2a4114063a382712c341591da3f5" => :mountain_lion
2014-08-22 18:04:05 +00:00
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