surfraw: Add HEAD build

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Michael Dippery 2010-12-12 02:58:23 -05:00 committed by Adam Vandenberg
parent 043b0c7c0f
commit ee4f65f21a

View file

@ -2,10 +2,12 @@ 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"