homebrew-core/Formula/surfraw.rb
2011-03-12 11:55:09 -08:00

18 lines
570 B
Ruby

require 'formula'
class Surfraw < Formula
url 'http://surfraw.alioth.debian.org/dist/surfraw-2.2.7.tar.gz'
head 'git://git.debian.org/surfraw/surfraw.git'
homepage 'http://surfraw.alioth.debian.org/'
md5 '213010e9b7c8478827e8903530cf7787'
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