libimobiledevice: use new dsl

This commit is contained in:
Adam Vandenberg 2012-09-03 14:03:11 -07:00
parent 37bfac48f9
commit 4580b3dc19

View file

@ -14,13 +14,13 @@ class Libimobiledevice < Formula
depends_on 'usbmuxd' depends_on 'usbmuxd'
depends_on 'gnutls' depends_on 'gnutls'
if ARGV.build_head? if build.head?
depends_on :automake depends_on :automake
depends_on :libtool depends_on :libtool
end end
def install def install
if ARGV.build_head? if build.head?
# fix the m4 problem with the missing pkg.m4 # fix the m4 problem with the missing pkg.m4
ENV['LIBTOOLIZE'] = "glibtoolize" ENV['LIBTOOLIZE'] = "glibtoolize"
ENV['ACLOCAL'] = "aclocal -I m4 -I #{HOMEBREW_PREFIX}/share/aclocal" ENV['ACLOCAL'] = "aclocal -I m4 -I #{HOMEBREW_PREFIX}/share/aclocal"