homebrew-core/Formula/qiv.rb
2014-03-28 14:50:05 -05:00

26 lines
564 B
Ruby

require 'formula'
class Qiv < Formula
homepage 'http://spiegl.de/qiv/'
url 'http://spiegl.de/qiv/download/qiv-2.3.1.tgz'
sha1 '8f8455951047ed41c773b9214375d02f7acaf814'
head 'http://bitbucket.org/ciberandy/qiv/', :using => :hg
depends_on 'pkg-config' => :build
depends_on 'gtk+'
depends_on 'imlib2'
depends_on 'libmagic'
depends_on 'little-cms2'
depends_on 'libexif'
def install
system "make", 'STATUSBAR_FONT="Monaco"', "CC=#{ENV.cc}"
bin.install "qiv"
man1.install "qiv.1"
end
test do
system "#{bin}/qiv"
end
end