forked from corlab/homebrew-formulas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oncilla-sim.rb
28 lines (22 loc) · 903 Bytes
/
oncilla-sim.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
require 'formula'
class OncillaSim < Formula
homepage 'https://toolkit.cit-ec.uni-bielefeld.de'
head 'https://redmine.amarsi-project.eu/git/oncillasim.git', :using => :git
version '0.2'
url 'https://redmine.amarsi-project.eu/git/oncillasim.git', :using => :git, :branch => 'y3gent'
option :universal
depends_on 'liboncilla-webots'
depends_on 'cca-oncilla'
def install
# ENV.x11 # if your formula requires any X11 headers
# ENV.deparallelize # if your formula's build system can't parallelize
ENV.universal_binary if build.universal?
system "python", "setup.py", "install", "--prefix=#{prefix}"
end
def test
# This test will fail and we won't accept that! It's enough to just replace
# "false" with the main program this formula installs, but it'd be nice if you
# were more thorough. Run the test with `brew test rsb`.
system "false"
end
end