<commit_before>packages:
  zlib:
    dependencies:
    - musl
  zlib-dev:
    dependencies:
    - zlib
  zlib-man:
    dependencies:
    - zlib
version: 1.2.11
builddependencies:
- gcc
- libc-dev
builder: bootstrap
sources:
- https://zlib.net/zlib-{{.Version}}.tar.gz
script:
- |
  {{extract "zlib" "gz"}}
  (cd zlib && CC=/usr/bin/{{confarch}}-*-linux-musl-gcc ./configure --prefix=/usr)
  $(MAKE) -C zlib
  $(MAKE) -C zlib DESTDIR=$(shell pwd)/out/zlib install
  mkdir out/zlib-dev/usr out/zlib-dev/usr/lib
  mv out/zlib/usr/include out/zlib-dev/usr/include
  mv out/zlib/usr/lib/libz.a out/zlib-dev/usr/lib/libz.a
  mkdir out/zlib-man/usr
  mv out/zlib/usr/share out/zlib-man/usr/share
  rm -r out/zlib/usr/lib/pkgconfig
<commit_msg>fix zlib pkgconfig out and migrate zlib to ccache<commit_after>packages:
  zlib:
    dependencies:
    - musl
  zlib-dev:
    dependencies:
    - zlib
    - pkgconfig
  zlib-man:
    dependencies:
    - zlib
version: 1.2.11
builddependencies:
- gcc
- libc-dev
builder: bootstrap
sources:
- https://zlib.net/zlib-{{.Version}}.tar.gz
script:
- |
  {{extract "zlib" "gz"}}
  (cd zlib && CC="ccache gcc" ./configure --prefix=/usr)
  $(MAKE) -C zlib
  $(MAKE) -C zlib DESTDIR=$(shell pwd)/out/zlib install
  mkdir out/zlib-dev/usr out/zlib-dev/usr/lib
  mv out/zlib/usr/include out/zlib-dev/usr/include
  mv out/zlib/usr/lib/libz.a out/zlib-dev/usr/lib/libz.a
  mkdir out/zlib-man/usr
  mv out/zlib/usr/share out/zlib-man/usr/share
  {{pkmv "/usr/lib/pkgconfig" "zlib" "zlib-dev"}}

{'fraction_non_alphanumeric': 0.16655651024454726, 'fraction_numerical': 0.005287508261731659, 'mean_word_length': 2.902061855670103, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2195671', 'n_tokens_mistral': 661, 'n_tokens_neox': 623, 'n_words': 119}