homebrew-core/Formula/zbar.rb
2013-01-21 06:23:22 -08:00

23 lines
669 B
Ruby

require 'formula'
class Zbar < Formula
homepage 'http://zbar.sourceforge.net'
url 'http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.bz2'
sha1 '273b47c26788faba4325baecc34063e27a012963'
depends_on :x11
depends_on 'pkg-config' => :build
depends_on 'jpeg'
depends_on 'imagemagick'
depends_on 'ufraw'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-python",
"--without-qt",
"--disable-video",
"--without-gtk"
system "make install"
end
end