homebrew-core/Formula/feh.rb
Bertrand Marron 2efbb9e97f Updated feh formula.
Use ENV.x11 instead of manually setting environment variables.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-17 08:17:03 -08:00

16 lines
318 B
Ruby

require 'formula'
class Feh <Formula
url 'http://feh.finalrewind.org/feh-1.11.2.tar.bz2'
homepage 'http://freshmeat.net/projects/feh'
md5 '3b2354d78a882ce02b429bbe053467a2'
depends_on 'giblib' => :build
def install
ENV.x11
system "make"
system "make", "PREFIX=#{prefix}", "install"
end
end