surfraw: style

master
Adam Vandenberg 2014-06-23 22:58:49 -07:00
parent f9448294f8
commit 3709c55607
1 changed files with 7 additions and 8 deletions

View File

@ -1,11 +1,10 @@
require 'formula'
require "formula"
class Surfraw < Formula
homepage 'http://surfraw.alioth.debian.org/'
url 'http://surfraw.alioth.debian.org/dist/surfraw-2.2.9.tar.gz'
sha1 '70bbba44ffc3b1bf7c7c4e0e9f0bdd656698a1c0'
head 'git://git.debian.org/surfraw/surfraw.git'
homepage "http://surfraw.alioth.debian.org/"
head "git://git.debian.org/surfraw/surfraw.git"
url "http://surfraw.alioth.debian.org/dist/surfraw-2.2.9.tar.gz"
sha1 "70bbba44ffc3b1bf7c7c4e0e9f0bdd656698a1c0"
def install
system "./prebuild" if build.head?
@ -13,7 +12,7 @@ class Surfraw < Formula
"--sysconfdir=#{etc}",
"--with-graphical-browser=open"
system "make"
ENV.j1 # Install using 1 job, or fails on Mac Pro
system "make install"
ENV.j1
system "make", "install"
end
end