mobile-shell: use new dsl
parent
78f24930c4
commit
5b6db5f7a9
|
@ -9,12 +9,12 @@ class MobileShell < Formula
|
|||
|
||||
# Needs new autoconf for correct AC_C_RESTRICT macro
|
||||
# See: https://github.com/keithw/mosh/issues/241
|
||||
depends_on 'autoconf' => :build if ARGV.build_head?
|
||||
depends_on 'autoconf' => :build if build.head?
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'protobuf'
|
||||
|
||||
def install
|
||||
system "./autogen.sh" if ARGV.build_head?
|
||||
system "./autogen.sh" if build.head?
|
||||
|
||||
# Upstream prefers O2:
|
||||
# https://github.com/keithw/mosh/blob/master/README.md
|
||||
|
|
Loading…
Reference in New Issue