forked from ahmadia/homebrew-science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bpel2owfn.rb
32 lines (28 loc) · 988 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
class Bpel2owfn < Formula
desc "WS-BPEL to oWFN translator"
homepage "https://www.gnu.org/software/bpel2owfn"
url "http://download.gna.org/service-tech/bpel2owfn/bpel2owfn-2.4.tar.gz"
sha256 "1a6e49673bb9c30491d26904a26f8f71fc310676833c4e8c5d89aca8dfa43ad6"
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