mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 05:29:47 -05:00
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>
18 lines
395 B
Ruby
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
|