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

class Sxiv < Formula
  homepage 'https://github.com/muennich/sxiv'
  url 'https://github.com/muennich/sxiv/archive/v1.1.1.tar.gz'
  sha1 'a87a6940936cc1d14c54d5ffe7814980b5511f07'

  head 'https://github.com/muennich/sxiv.git'

  depends_on :x11
  depends_on 'imlib2'
  depends_on 'giflib'

  def install
    system "make", "config.h"
    system "make", "PREFIX=#{prefix}", "install"
  end

  test do
    system "#{bin}/sxiv", "-v"
  end
end