<commit_before>#!/bin/env ruby
# encoding: utf-8

class ZalandoLibtcnative < FPM::Cookery::Recipe
  description "Tomcat native library using the Apache Portable Runtime for Zalando"

  version  "1.1.32"
  revision  0
  arch     "all"
  name     "zalando-libtcnative-1-#{version}"
  homepage "http://tomcat.apache.org/native-doc/"
  source   "http://archive.apache.org/dist/tomcat/tomcat-connectors/native/#{version}/source/tomcat-native-#{version}-src.tar.gz"
  maintainer    "<NAME> <<EMAIL>>"
  section       "non-free/net"
  build_depends "libapr1-dev", "libssl-dev"
  depends       "libapr1", "libc6", "libssl1.0.0"

  def build
      Dir.chdir 'jni/native' do
        configure   :prefix => '/server/tomcat/7.0',
                    '--with-apr' => '/usr/lib/libapr-1.so.0',
                    '--with-java-home' => '/server/jdk/1.7.0'
        make
      end
  end

  def install
      make :install, 'DESTDIR' => destdir
  end

end<commit_msg>PF-5716 do not double-double-dash-prefix options<commit_after>#!/bin/env ruby
# encoding: utf-8

class ZalandoLibtcnative < FPM::Cookery::Recipe
  description "Tomcat native library using the Apache Portable Runtime for Zalando"

  version  "1.1.32"
  revision  0
  arch     "all"
  name     "zalando-libtcnative-1-#{version}"
  homepage "http://tomcat.apache.org/native-doc/"
  source   "http://archive.apache.org/dist/tomcat/tomcat-connectors/native/#{version}/source/tomcat-native-#{version}-src.tar.gz"
  maintainer    "<NAME> <<EMAIL>>"
  section       "non-free/net"
  build_depends "libapr1-dev", "libssl-dev"
  depends       "libapr1", "libc6", "libssl1.0.0"

  def build
      Dir.chdir 'jni/native' do
        configure   :prefix => '/server/tomcat/7.0',
                    'with-apr' => '/usr/lib/libapr-1.so.0',
                    'with-java-home' => '/server/jdk/1.7.0'
        make
      end
  end

  def install
      make :install, 'DESTDIR' => destdir
  end

end
{'fraction_non_alphanumeric': 0.15225271879854999, 'fraction_numerical': 0.02278612118073537, 'mean_word_length': 2.544954128440367, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, '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': '4612454', 'n_tokens_mistral': 722, 'n_tokens_neox': 713, 'n_words': 133}