2010-12-20 00:40:40 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Scantailor < Formula
|
2010-12-20 00:40:40 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/scantailor/scantailor/0.9.9.2/scantailor-0.9.9.2.tar.gz'
|
|
|
|
homepage 'http://scantailor.sourceforge.net/'
|
|
|
|
md5 '0944b12c936019fe12269c7a356d60d0'
|
|
|
|
|
2011-03-16 04:51:33 +00:00
|
|
|
depends_on 'cmake' => :build
|
2010-12-20 00:40:40 +00:00
|
|
|
depends_on 'qt'
|
|
|
|
depends_on 'boost'
|
2011-03-16 04:51:33 +00:00
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'libtiff'
|
2010-12-20 00:40:40 +00:00
|
|
|
|
|
|
|
def install
|
2011-04-18 02:45:22 +00:00
|
|
|
system "cmake . #{std_cmake_parameters} -DPNG_INCLUDE_DIR=/usr/X11/include"
|
2010-12-20 00:40:40 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|