<commit_before>pkg_name=tcl
pkg_origin=core
pkg_version=8.6.8
pkg_maintainer="The Habitat Maintainers <<EMAIL>>"
pkg_description="Tool Command Language -- A dynamic programming language."
pkg_upstream_url="http://tcl.sourceforge.net/"
pkg_license=('custom')
pkg_source="http://downloads.sourceforge.net/sourceforge/${pkg_name}/${pkg_name}${pkg_version}-src.tar.gz"
pkg_shasum="c43cb0c1518ce42b00e7c8f6eaddd5195c53a98f94adc717234a65cbcfd3f96a"
pkg_dirname="${pkg_name}${pkg_version}"
pkg_deps=(
  core/glibc
  core/gcc-libs
  core/zlib
)
pkg_build_deps=(
  core/coreutils
  core/diffutils
  core/patch
  core/make
  core/gcc
  core/sed
)
pkg_bin_dirs=(bin)
pkg_include_dirs=(include)
pkg_lib_dirs=(lib)

do_build() {
  pushd unix > /dev/null
    export LDFLAGS="-lgcc_s ${LDFLAGS}"
    ./configure \
      --prefix="$pkg_prefix" \
      --enable-threads \
      --enable-64bit
    make

    # The Tcl package expects that its source tree is preserved so that
    # packages depending on it for their compilation can utilize it. These sed
    # remove the references to the build directory and replace them with more
    # reasonable system-wide locations.
    #
    # Thanks to: http://www.linuxfromscratch.org/blfs/view/stable/general/tcl.html
    # Thanks to: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/tcl
    local srcdir
    srcdir=$(abspath ..)
    local tdbcver=tdbc1.0.6<commit_msg>[tcl] Add `pkg_pconfig_dirs` entry.<commit_after>pkg_name=tcl
pkg_origin=core
pkg_version=8.6.8
pkg_maintainer="The Habitat Maintainers <<EMAIL>>"
pkg_description="Tool Command Language -- A dynamic programming language."
pkg_upstream_url="http://tcl.sourceforge.net/"
pkg_license=('custom')
pkg_source="http://downloads.sourceforge.net/sourceforge/${pkg_name}/${pkg_name}${pkg_version}-src.tar.gz"
pkg_shasum="c43cb0c1518ce42b00e7c8f6eaddd5195c53a98f94adc717234a65cbcfd3f96a"
pkg_dirname="${pkg_name}${pkg_version}"
pkg_deps=(
  core/glibc
  core/gcc-libs
  core/zlib
)
pkg_build_deps=(
  core/coreutils
  core/diffutils
  core/patch
  core/make
  core/gcc
  core/sed
)
pkg_bin_dirs=(bin)
pkg_include_dirs=(include)
pkg_lib_dirs=(lib)
pkg_pconfig_dirs=(lib/pkgconfig)

do_build() {
  pushd unix > /dev/null
    export LDFLAGS="-lgcc_s ${LDFLAGS}"
    ./configure \
      --prefix="$pkg_prefix" \
      --enable-threads \
      --enable-64bit
    make

    # The Tcl package expects that its source tree is preserved so that
    # packages depending on it for their compilation can utilize it. These sed
    # remove the references to the build directory and replace them with more
    # reasonable system-wide locations.
    #
    # Thanks to: http://www.linuxfromscratch.org/blfs/view/stable/general/tcl.html
    # Thanks to: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/tcl
    local srcdir
    srcdir=$(abspath ..)
    local tdbcver=tdbc1.0.6
{'fraction_non_alphanumeric': 0.12041166380789023, 'fraction_numerical': 0.029502572898799314, 'mean_word_length': 4.216457960644007, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1814853', 'n_tokens_mistral': 1099, 'n_tokens_neox': 1051, 'n_words': 193}