homebrew-core/Formula/lasi.rb
2012-08-21 12:09:06 -04:00

22 lines
634 B
Ruby

require 'formula'
class Lasi < Formula
homepage 'http://www.unifont.org/lasi/'
url 'http://sourceforge.net/projects/lasi/files/lasi/1.1.1%20Source/libLASi-1.1.1.tar.gz'
md5 'bc5161b1d820db3dbcea24ce1c2ed5ec'
head 'https://lasi.svn.sourceforge.net/svnroot/lasi/trunk'
depends_on 'cmake' => :build
depends_on 'pkg-config' => :build
depends_on 'pango'
depends_on 'doxygen'
def install
# None is valid, but lasi's CMakeFiles doesn't think so for some reason
args = std_cmake_args - %w{-DCMAKE_BUILD_TYPE=None}
system "cmake", ".", "-DCMAKE_BUILD_TYPE=Release", *args
system "make install"
end
end