<commit_before>require 'formula'

class AndroidNdk < Formula
  homepage 'http://developer.android.com/sdk/ndk/index.html'
  url 'http://dl.google.com/android/ndk/android-ndk-r9-darwin-x86.tar.bz2'
  version '9'
  sha1 '436d55e5e0557e2491ba46929c8a32255e391ae9'

  depends_on 'android-sdk'

  def install
    bin.mkpath
    prefix.install Dir['*']

    # Create a dummy script to launch the ndk apps
    ndk_exec = prefix+'ndk-exec.sh'
    (ndk_exec).write <<-EOS.undent
      #!/bin/sh
      BASENAME=`basename $0`
      EXEC="#{prefix}/$BASENAME"<commit_msg>android-ndk r9b<commit_after>require 'formula'

class AndroidNdk < Formula
  homepage 'http://developer.android.com/sdk/ndk/index.html'
  url 'http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86.tar.bz2'
  sha1 'e9e44144a1db987f917eafe9fa2dc0b0de3ee78f'

  depends_on 'android-sdk'

  def install
    bin.mkpath
    prefix.install Dir['*']

    # Create a dummy script to launch the ndk apps
    ndk_exec = prefix+'ndk-exec.sh'
    (ndk_exec).write <<-EOS.undent
      #!/bin/sh
      BASENAME=`basename $0`
      EXEC="#{prefix}/$BASENAME"
{'fraction_non_alphanumeric': 0.13821138211382114, 'fraction_numerical': 0.056910569105691054, 'mean_word_length': 3.4497991967871484, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5357699', 'n_tokens_mistral': 479, 'n_tokens_neox': 438, 'n_words': 72}