aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMichael Dippery2010-12-12 02:58:23 -0500
committerAdam Vandenberg2010-12-12 11:23:04 -0800
commiteb357cd9998149424570be69e2a472b41392075e (patch)
tree7038caacd6ab671f53a96cd8227a6e26c319b7e6 /Library/Formula
parentc91443e311e091a520e2a19e396e997a2ad8fe7a (diff)
downloadhomebrew-eb357cd9998149424570be69e2a472b41392075e.tar.bz2
surfraw: Add HEAD build
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/surfraw.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/surfraw.rb b/Library/Formula/surfraw.rb
index e254d5611..d93f15bae 100644
--- a/Library/Formula/surfraw.rb
+++ b/Library/Formula/surfraw.rb
@@ -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"