homebrew-core/Formula/surfraw.rb
Martin Kühl c0a265677b Fixes for surfraw:
- Use correct sysconfdir.
- Use a sensible default `browser'.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-17 18:32:54 -07:00

16 lines
435 B
Ruby

require 'formula'
class Surfraw <Formula
url 'http://surfraw.alioth.debian.org/dist/surfraw-2.2.7.tar.gz'
homepage 'http://surfraw.alioth.debian.org/'
md5 '213010e9b7c8478827e8903530cf7787'
def install
system "./configure", "--prefix=#{prefix}",
"--sysconfdir=#{etc}",
"--with-graphical-browser=open"
system "make"
ENV.j1 # Install using 1 job, or fails on Mac Pro
system "make install"
end
end