aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorRémi Prévost2010-05-10 23:04:34 -0400
committerAdam Vandenberg2010-05-12 08:59:29 -0700
commite68ca2fb511e42e6f5e833e9a937338dd827afbc (patch)
tree1b47b15c1f6b86a25feb287f8d9e88e0b4fa5c70 /Library
parent1ba6d60abcaa02c8b3dbfbfde39db74cc5ee6ec5 (diff)
downloadhomebrew-e68ca2fb511e42e6f5e833e9a937338dd827afbc.tar.bz2
surfraw 2.2.7
Surfraw provides a fast unix command line interface to a variety of popular WWW search engines and other artifacts of power. It reclaims google, altavista, babelfish, dejanews, freshmeat, research index, slashdot and many others from the false-prophet, pox-infested heathen lands of html-forms, placing these wonders where they belong, deep in unix heartland, as god loving extensions to the shell. Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Remove unused configure switches * Must "make install" using j1 on Mac Pro
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/surfraw.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/surfraw.rb b/Library/Formula/surfraw.rb
new file mode 100644
index 000000000..ace6d7609
--- /dev/null
+++ b/Library/Formula/surfraw.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Surfraw <Formula
+ url 'http://surfraw.alioth.debian.org/dist/surfraw-2.2.7.tar.gz'
+ homepage 'http://surfraw.alioth.debian.org/'
+ md5 '213010e9b7c8478827e8903530cf7787'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+ ENV.j1 # Install using 1 job, or fails on Mac Pro
+ system "make install"
+ end
+end