homebrew-core/Formula/feh.rb
guns 998cc78052 feh: fix missing fonts issue, update to 1.16
Building feh without PREFIX=... leads to errors about missing fonts,
since the builtin font paths are hardcoded relative to the PREFIX.

The prefix must be supplied during build, and perhaps during install
(which must be done separately since there is no build dependency on
installation).

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-06 22:53:58 -05:00

16 lines
337 B
Ruby

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