homebrew-core/Formula/sxiv.rb

31 lines
915 B
Ruby
Raw Normal View History

2017-01-25 10:24:18 +00:00
class Sxiv < Formula
desc "Simple X Image Viewer"
homepage "https://github.com/muennich/sxiv"
url "https://github.com/muennich/sxiv/archive/v1.3.2.tar.gz"
mirror "https://mirrors.kernel.org/debian/pool/main/s/sxiv/sxiv_1.3.2.orig.tar.gz"
sha256 "9f5368de8f0f57e78ebe02cb531a31107a993f2769cec51bcc8d70f5c668b653"
head "https://github.com/muennich/sxiv.git"
2017-01-27 02:33:31 +00:00
bottle do
cellar :any
sha256 "e5bcdb136a9ffc360193193461e64502369bd5f8a083525a273cca35bf49e0f8" => :sierra
sha256 "39d8e6f5f08b72e8e7d48681d7d44d7f56a52ee36f9c8b836e825e09a769e0c5" => :el_capitan
sha256 "0ef89ec26f91d1639744ecb5ceec0db81d675e8a1ce6c7946f4a46488842e49a" => :yosemite
end
2017-01-25 10:24:18 +00:00
depends_on :x11
depends_on "imlib2"
depends_on "giflib"
depends_on "libexif"
def install
system "make", "config.h"
system "make", "PREFIX=#{prefix}", "install"
end
test do
system "#{bin}/sxiv", "-v"
end
end