From 36912ab9d398df8a45873fa411696df096a2effd Mon Sep 17 00:00:00 2001 From: David Whitmarsh Date: Tue, 13 Nov 2012 17:23:30 -0600 Subject: qiv 2.2.4 Closes #16042. Signed-off-by: Adam Vandenberg --- Library/Formula/qiv.rb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Library/Formula/qiv.rb (limited to 'Library/Formula') diff --git a/Library/Formula/qiv.rb b/Library/Formula/qiv.rb new file mode 100644 index 000000000..9f0d144b0 --- /dev/null +++ b/Library/Formula/qiv.rb @@ -0,0 +1,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 -- cgit v1.2.3