aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/qiv.rb
blob: 9f0d144b0a775721161b65d52abd70825f10a298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'formula'

class Qiv < Formula
  homepage 'http://spiegl.de/qiv/'
  url 'http://spiegl.de/qiv/download/qiv-2.2.4.tgz'
  sha1 '650052cb72820701300b2bfeb09b966625ee3dba'

  head 'http://bitbucket.org/ciberandy/qiv/', :using => :hg

  depends_on 'pkg-config' => :build
  depends_on 'gtk+'
  depends_on 'imlib2'
  depends_on 'libmagic'

  def install
    system "make", 'STATUSBAR_FONT="Monaco"', "CC=#{ENV.cc}"
    bin.install "qiv"
    man1.install "qiv.1"
  end

  def test
    system "#{bin}/qiv"
  end
end