forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
genet.rb
27 lines (23 loc) · 817 Bytes
/
genet.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
require 'formula'
class Genet < Formula
homepage 'http://www.lsi.upc.edu/~jcarmona/genet.html'
url 'http://download.gna.org/service-tech/genet/genet-1.2.tar.gz'
sha1 '3daa288ee932c502b79bbe44d0ce55f12994b099'
head do
url 'http://svn.gna.org/svn/service-tech/trunk/genet'
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libtool' => :build
depends_on 'gengetopt' => :build
depends_on 'help2man' => :build
end
def install
system "autoreconf -i" if build.head?
system "./configure", "--disable-assert",
"--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
end