homebrew-core/Formula/surfraw.rb

19 lines
570 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
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