blob: e97c98f3bf16b8c922c711a3721d7e63b89227d3 (
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
25
26
|
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
|