homebrew-core/Formula/sxiv.rb

23 lines
459 B
Ruby
Raw Normal View History

2014-05-20 05:56:01 +00:00
require "formula"
class Sxiv < Formula
2014-05-20 05:56:01 +00:00
homepage "https://github.com/muennich/sxiv"
url "https://github.com/muennich/sxiv/archive/v1.2.tar.gz"
sha1 "69cacabdd60316edbf3eee076d8057df7f7be0ed"
2014-05-20 05:56:01 +00:00
head "https://github.com/muennich/sxiv.git"
depends_on :x11
2014-05-20 05:56:01 +00:00
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