2010-03-09 16:36:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Lasi < Formula
|
2012-02-22 05:12:27 +00:00
|
|
|
homepage 'http://www.unifont.org/lasi/'
|
2012-02-01 02:57:06 +00:00
|
|
|
url 'http://sourceforge.net/projects/lasi/files/lasi/1.1.1%20Source/libLASi-1.1.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'd17fdebf4bb4a29512e321c7af157a694dc855a0'
|
2012-02-22 05:12:27 +00:00
|
|
|
|
2012-02-01 02:57:06 +00:00
|
|
|
head 'https://lasi.svn.sourceforge.net/svnroot/lasi/trunk'
|
2010-03-09 16:36:56 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
|
|
|
depends_on 'pkg-config' => :build
|
2010-03-09 16:36:56 +00:00
|
|
|
depends_on 'pango'
|
|
|
|
depends_on 'doxygen'
|
|
|
|
|
|
|
|
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
|
2010-03-09 16:36:56 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|