<commit_before>packages:
  xz:
  xz-libs:
    dependencies:
    - ncurses
    - libc
  xz-doc:
  xz-dev:
    dependencies:
    - ncurses-dev
    - libc-dev
version: 5.2.3
builder: bootstrap
builddependencies:
- gcc
- libc-dev
- ncurses-dev
- g++
sources:
- https://fossies.org/linux/misc/xz-{{.Version}}.tar.gz
script:
- tar -xf src/xz-{{.Version}}.tar.gz
- mv xz-{{.Version}} xz
- (cd xz && ./configure --build={{confarch}}-pc-linux-gnu)
- (cd xz && make)
- $(MAKE) -C xz DESTDIR=$(shell pwd)/out/xz install
- mkdir -p out/xz-libs/usr/local
- mv out/xz/usr/local/lib out/xz-libs/usr/local
- mkdir -p out/xz-doc/usr/local/share
- mv out/xz/usr/local/share/doc out/xz-doc/usr/local/share
- mv out/xz/usr/local/share/man out/xz-doc/usr/local/share
- mkdir -p out/xz-dev/usr/local/share/doc/xz
- mv out/xz-doc/usr/local/share/doc/xz/examples* out/xz-dev/usr/local/share/doc/xz
- mv out/xz/usr/local/include out/xz-dev/usr/local
- mkdir -p out/xz-dev/usr/local/lib
- mv out/xz-libs/usr/local/lib/liblzma* out/xz-dev/usr/local/lib
- mv out/xz-libs/usr/local/lib/pkgconfig out/xz-dev/usr/local/lib<commit_msg>fix xz<commit_after>packages:
  xz:
  xz-libs:
    dependencies:
    - ncurses
    - libc
  xz-doc:
  xz-dev:
    dependencies:
    - ncurses-dev
    - libc-dev
version: 5.2.3
builddependencies:
- gcc
- libc-dev
- ncurses-dev
- g++
- autoconf
- automake
- libtool
- gettext-dev
- bash
sources:
- https://github.com/xz-mirror/xz/archive/v{{.Version}}.tar.gz
script:
- |
  lpkg-alt reconfigure sh 00_bash
  mv src/v{{.Version}}.tar.gz src/xz-{{.Version}}.tar.gz
  {{extract "xz" "gz"}}
  (cd xz && autoreconf -vif)
  {{configure "xz" "--disable-shared --disable-gettext"}}
  $(MAKE) -C xz
  $(MAKE) -C xz DESTDIR=$(shell pwd)/out/xz install
  mkdir -p out/xz-libs/usr
  mv out/xz/usr/lib out/xz-libs/usr
  mkdir -p out/xz-doc/usr/share
  mv out/xz/usr/share/doc out/xz-doc/usr/share
  mv out/xz/usr/share/man out/xz-doc/usr/share
  mkdir -p out/xz-dev/usr/share/doc/xz
  mv out/xz-doc/usr/share/doc/xz/examples* out/xz-dev/usr/share/doc/xz
  mv out/xz/usr/include out/xz-dev/usr
  mkdir -p out/xz-dev/usr/lib
  mv out/xz-libs/usr/lib/pkgconfig out/xz-dev/usr/lib
{'fraction_non_alphanumeric': 0.18539066111881647, 'fraction_numerical': 0.0036985668053629217, 'mean_word_length': 2.6802721088435373, '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': '7230827', 'n_tokens_mistral': 1031, 'n_tokens_neox': 924, 'n_words': 158}