forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bpel2owfn.rb
33 lines (28 loc) · 941 Bytes
/
bpel2owfn.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
32
33
require 'formula'
class Bpel2owfn < Formula
homepage 'http://www.gnu.org/software/bpel2owfn'
url 'http://download.gna.org/service-tech/bpel2owfn/bpel2owfn-2.4.tar.gz'
sha1 '7917a990d0df53f9edd3a775063036b7a60d6e71'
head do
url 'http://svn.gna.org/svn/service-tech/trunk/bpel2owfn'
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'flex' => :build
depends_on 'bison' => :build
depends_on 'gengetopt' => :build
depends_on 'help2man' => :build
depends_on 'kimwitu++' => :build
depends_on 'gnu-sed' => :build
end
def install
system "autoreconf -i" if build.head?
system "./configure", "--disable-assert",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/bpel2owfn", "--help"
end
end