homebrew-core/Formula/scantailor.rb

25 lines
700 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'
md5 '15984c8828ecb2de542ac94e3c41a810'
devel do
2012-02-08 16:53:36 +00:00
url 'http://downloads.sourceforge.net/project/scantailor/scantailor-devel/enhanced/scantailor-enhanced-20111213.tar.gz'
md5 'bcba593dcba17880429884fe2bfb1d2a'
version 'enhanced-20111213'
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'
def install
system "cmake . #{std_cmake_parameters} -DPNG_INCLUDE_DIR=/usr/X11/include"
system "make install"
end
end