mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -05:00
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>
17 lines
337 B
Ruby
17 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
|