crystax-ndk: bottle unneeded

This commit is contained in:
Xu Cheng 2015-10-23 15:41:31 +08:00
parent db44c068d0
commit 871902e304

View file

@ -12,6 +12,8 @@ class CrystaxNdk < Formula
sha256 "a46e5741d42406c39e85c79bfac895374b1831c20e16cfa5ea57d705c52dc1f1"
end
bottle :unneeded
depends_on "android-sdk" => :recommended
def install
@ -39,11 +41,6 @@ class CrystaxNdk < Formula
%w[ndk-build ndk-gdb ndk-stack].each { |app| bin.install_symlink ndk_exec => app }
end
test do
system "#{bin}/ndk-build", "--version"
system "#{bin}/ndk-gdb", "--help"
end
def caveats; <<-EOS.undent
We agreed to the CrystaX NDK License Agreement for you by downloading the NDK.
If this is unacceptable you should uninstall.
@ -55,4 +52,9 @@ class CrystaxNdk < Formula
#{homepage}
EOS
end
test do
system "#{bin}/ndk-build", "--version"
system "#{bin}/ndk-gdb", "--help"
end
end