diff options
| author | Matthew Newhook | 2015-01-05 14:26:25 -0330 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-05 18:38:15 +0000 |
| commit | c4621f8d0c5e8a56a7eac2e1e72a5f2fdad96189 (patch) | |
| tree | cfaa8261a4a48ac6ba6d0ffa71ed2c3b64928036 /Library | |
| parent | 9f0677c2bda46bd0638a1a9b0fa71dc2662139a8 (diff) | |
| download | homebrew-c4621f8d0c5e8a56a7eac2e1e72a5f2fdad96189.tar.bz2 | |
ode 0.13.1
Also:
- Fixed head url to new repository.
- Fixed build to use the included bootstrap script.
- Added support for enable-shared.
Closes #35569.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ode.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/ode.rb b/Library/Formula/ode.rb index 7a5bc709c..3e2ff31d4 100644 --- a/Library/Formula/ode.rb +++ b/Library/Formula/ode.rb @@ -2,11 +2,11 @@ require 'formula' class Ode < Formula homepage 'http://www.ode.org/' - url 'https://downloads.sourceforge.net/project/opende/ODE/0.13/ode-0.13.tar.bz2' - sha1 '0279d58cc390ff5cc048f2baf96cff23887f3838' + url 'https://bitbucket.org/odedevs/ode/downloads/ode-0.13.1.tar.gz' + sha1 '2fea08792e8f0fe606e929097fbec78ba926bcab' head do - url 'http://opende.svn.sourceforge.net/svnroot/opende/trunk' + url 'http://bitbucket.org/odedevs/ode/', :using => :hg depends_on "autoconf" => :build depends_on "automake" => :build @@ -14,6 +14,7 @@ class Ode < Formula end option 'enable-double-precision', 'Compile ODE with double precision' + option 'enable-shared', 'Compile ODE with shared library support' option 'enable-libccd', 'enable all libccd colliders (except box-cylinder)' depends_on 'pkg-config' => :build @@ -22,12 +23,13 @@ class Ode < Formula args = ["--prefix=#{prefix}", "--disable-demos"] args << "--enable-double-precision" if build.include? 'enable-double-precision' + args << "--enable-shared" if build.include? 'enable-shared' args << "--enable-libccd" if build.include? "enable-libccd" if build.head? ENV['LIBTOOLIZE'] = 'glibtoolize' - inreplace 'autogen.sh', 'libtoolize', '$LIBTOOLIZE' - system "./autogen.sh" + inreplace 'bootstrap', 'libtoolize', '$LIBTOOLIZE' + system "./bootstrap" end system "./configure", *args system "make" |
