homebrew-core/Formula/surfraw.rb
Adam Durity be5c70a2d0 surfraw: Update to 2.2.8
Closes Homebrew/homebrew#7511.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-08 15:42:49 -07:00

18 lines
570 B
Ruby

require 'formula'
class Surfraw < Formula
url 'http://surfraw.alioth.debian.org/dist/surfraw-2.2.8.tar.gz'
head 'git://git.debian.org/surfraw/surfraw.git'
homepage 'http://surfraw.alioth.debian.org/'
md5 'e0f571f7a2d109555c26bdb40781a3f2'
def install
system "./prebuild" if ARGV.build_head?
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