Files
tigerbrew/Library/Formula/feh.rb
T
Bertrand Marron 780c85bd95 Updated feh formula.
Made the formula less likely to break on upgrades by replacing the patch
by environment variables set on install.
Also removed the dependency on libpng.

Closes #4221.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-02-13 14:23:26 +00:00

18 lines
395 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.append "LDFLAGS", "-L/usr/X11/lib"
ENV.append "CFLAGS", "-I/usr/X11/include"
system "make"
system "make", "PREFIX=#{prefix}", "install"
end
end