forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsara.rb
31 lines (26 loc) · 947 Bytes
/
sara.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require 'formula'
class Sara < Formula
homepage 'http://service-technology.org/sara'
url 'http://download.gna.org/service-tech/sara/sara-1.13.tar.gz'
sha1 'a4f03cc3ffc73613610ecce4c6b6a60b1a94171d'
head do
url "http://svn.gna.org/svn/service-tech/trunk/sara"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "gengetopt" => :build
depends_on "help2man" => :build
depends_on "libtool" => :build
end
option "without-check", "skip build-time checks (not recommended)"
def install
ENV.deparallelize
system "autoreconf -i" if build.head?
system "./configure", "--disable-assert",
"--without-pnapi",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "check" if build.with? "check"
system "make", "install"
end
end