forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
genet.rb
25 lines (22 loc) · 824 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
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"
sha256 "29b95556686536102012c7374a66006bee37777b64d9d0d8d420e5c20bd004cf"
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