homebrew-core/Formula/lasi.rb

23 lines
657 B
Ruby
Raw Normal View History

2014-08-17 16:32:51 +00:00
require "formula"
2011-03-10 05:11:03 +00:00
class Lasi < Formula
2014-08-17 16:32:51 +00:00
homepage "http://www.unifont.org/lasi/"
url "https://downloads.sourceforge.net/project/lasi/lasi/1.1.2%20Source/libLASi-1.1.2.tar.gz"
sha1 "5f1764273c71cc196c095998da8110ca4ad620ae"
2012-02-22 05:12:27 +00:00
2014-08-17 16:32:51 +00:00
head "https://lasi.svn.sourceforge.net/svnroot/lasi/trunk"
2014-08-17 16:32:51 +00:00
depends_on "cmake" => :build
depends_on "pkg-config" => :build
2014-11-14 20:35:08 +00:00
depends_on "doxygen" => :build
2014-08-17 16:32:51 +00:00
depends_on "pango"
def install
2012-08-19 21:37:02 +00:00
# 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