d79ee8d163
Fixed formulas referencing X11 via the X11R6 symlink to instead reference the path X11 should be at directly (in case the user doesn't have that symlink, like I didn't) Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
485 B
Ruby
18 lines
485 B
Ruby
require 'formula'
|
|
|
|
class Scantailor < Formula
|
|
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'
|
|
|
|
depends_on 'cmake' => :build
|
|
depends_on 'qt'
|
|
depends_on 'boost'
|
|
depends_on 'jpeg'
|
|
depends_on 'libtiff'
|
|
|
|
def install
|
|
system "cmake . #{std_cmake_parameters} -DPNG_INCLUDE_DIR=/usr/X11/include"
|
|
system "make install"
|
|
end
|
|
end
|