2010-03-04 01:02:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Zbar < Formula
|
2010-03-04 01:02:22 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/zbar/zbar/0.10/zbar-0.10.tar.bz2'
|
|
|
|
homepage 'http://zbar.sourceforge.net'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '273b47c26788faba4325baecc34063e27a012963'
|
2010-03-04 01:02:22 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-03-04 01:02:22 +00:00
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'imagemagick'
|
|
|
|
depends_on 'ufraw'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-python=no", "--without-qt", "--disable-video", "--without-gtk"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|