mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
17 lines
475 B
Ruby
17 lines
475 B
Ruby
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}",
|
|
"--sysconfdir=#{etc}",
|
|
"--with-graphical-browser=open"
|
|
system "make"
|
|
ENV.j1 # Install using 1 job, or fails on Mac Pro
|
|
system "make install"
|
|
end
|
|
end
|