homebrew-core/Formula/scantailor.rb

31 lines
857 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Scantailor < Formula
homepage 'http://scantailor.sourceforge.net/'
2012-02-08 01:21:38 +00:00
url 'http://downloads.sourceforge.net/project/scantailor/scantailor/0.9.11/scantailor-0.9.11.tar.gz'
sha1 '21ec03317ca2b278179693237eaecd962ee0263b'
devel do
2012-09-04 14:45:06 +00:00
url 'http://downloads.sourceforge.net/project/scantailor/scantailor-devel/enhanced/scantailor-enhanced-20120812.tar.bz2'
version 'enhanced-20120812'
sha1 'e3535d6e21a1844cf83eb2b23469fb6d90c070a9'
end
2011-03-16 04:51:33 +00:00
depends_on 'cmake' => :build
depends_on 'qt'
depends_on 'boost'
2011-03-16 04:51:33 +00:00
depends_on 'jpeg'
depends_on 'libtiff'
depends_on :x11
fails_with :clang do
build 421
cause "calling a private constructor of class 'mcalc::Mat<double>'"
end
def install
system "cmake", ".", "-DPNG_INCLUDE_DIR=#{MacOS::X11.include}", *std_cmake_args
system "make install"
end
end