ode: use new dsl
This commit is contained in:
parent
7d34c0c0dc
commit
56cb7cab0b
1 changed files with 2 additions and 2 deletions
|
@ -9,14 +9,14 @@ class Ode < Formula
|
|||
|
||||
depends_on 'pkg-config' => :build
|
||||
|
||||
if ARGV.build_head?
|
||||
if build.head?
|
||||
# Requires newer automake and libtool
|
||||
depends_on 'automake' => :build
|
||||
depends_on 'libtool' => :build
|
||||
end
|
||||
|
||||
def install
|
||||
if ARGV.build_head?
|
||||
if build.head?
|
||||
ENV['LIBTOOLIZE'] = 'glibtoolize'
|
||||
inreplace 'autogen.sh', 'libtoolize', '$LIBTOOLIZE'
|
||||
system "./autogen.sh"
|
||||
|
|
Loading…
Reference in a new issue