<commit_before><commit_msg>Added support for readline-devel.<commit_after>#!/bin/sh

#Stop on error.
set -e

#Output name.
PKG_NAME=Readline-devel

#Sources and dependency names.
ZIP=zip-3.0-11
READLINE_DEV=readline-6.1.2-3

#Clean up.
rm -rf .working_dir
mkdir .working_dir
cd .working_dir

#Grab sources and dependencies.
wget ftp://mirrors.kernel.org/sourceware/cygwin/x86/release/zip/$ZIP.tar.bz2
wget ftp://mirrors.kernel.org/sourceware/cygwin/x86/release/readline/$READLINE_DEV.tar.bz2

#Unzip.
tar xjf $ZIP.tar.bz2 -C / #Needed for packaging.
tar xjf $READLINE_DEV.tar.bz2

#Move sources in place for packaging.
mkdir $PKG_NAME
mkdir $PKG_NAME/usr
mkdir $PKG_NAME/lib
cp -r usr/share $PKG_NAME/usr
cp -r usr/include $PKG_NAME/usr
cp -r usr/lib/* $PKG_NAME/lib

#Build package.
cd $PKG_NAME
zip -r $PKG_NAME.mxt3 .
mv $PKG_NAME.mxt3 ../../
echo "Created package $PKG_NAME.mxt3 successfully!" 
{'fraction_non_alphanumeric': 0.13251670378619154, 'fraction_numerical': 0.021158129175946547, 'mean_word_length': 4.137142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6913974', 'n_tokens_mistral': 390, 'n_tokens_neox': 374, 'n_words': 84}