Permalink
Browse files

xsane 0.999

GUI frontend for SANE

Closes Homebrew/legacy-homebrew#24387.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
Asuranceturix authored and adamv committed Nov 15, 2013
1 parent d8310db commit c0798bcf016866de48f9631263fb435371d31074
Showing with 23 additions and 0 deletions.
  1. +23 −0 Formula/xsane.rb
View
@@ -0,0 +1,23 @@
require 'formula'
class Xsane < Formula
homepage 'http://www.xsane.org'
url 'http://www.xsane.org/download/xsane-0.999.tar.gz'
sha1 '633150e4e690c1e8c18d6b82886c2fb4daba4bc9'
depends_on 'pkg-config' => :build
depends_on 'gtk+'
depends_on 'sane-backends'
def patches
# Needed to compile against libpng 1.5
{:p0 =>
"https://trac.macports.org/export/113352/trunk/dports/graphics/xsane/files/patch-src__xsane-save.c-libpng15-compat.diff"
}
end
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
end

0 comments on commit c0798bc

Please sign in to comment.