<commit_before>#!/bin/sh

set +h		# disable hashall
shopt -s -o pipefail

PKG_NAME="sqlite"
PKG_VERSION="3090200"

TARBALL="${PKG_NAME}-autoconf-${PKG_VERSION}.tar.gz"
SRC_DIR="${PKG_NAME}-autoconf-${PKG_VERSION}"

function prepare() {
    ln -sv "/source/$TARBALL" "$TARBALL"
}

function unpack() {
    tar xf ${TARBALL}
}

function build() {
	./configure --prefix=/usr --disable-static        			\
	            CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 			\
			            -DSQLITE_ENABLE_COLUMN_METADATA=1     	\
			            -DSQLITE_ENABLE_UNLOCK_NOTIFY=1       	\
			            -DSQLITE_SECURE_DELETE=1" &&
	make $MAKE_PARALLEL
}

function check() {
	echo " "
}

function instal() {
	make $MAKE_PARALLEL install
}

function clean() {
    rm -rf "${SRC_DIR}" "$TARBALL"
}

clean;prepare;unpack;pushd ${SRC_DIR};build;[[ $MAKE_CHECK = TRUE ]] && check;instal;popd;clean<commit_msg>Upgraded to 3110000<commit_after>#!/bin/sh

set +h		# disable hashall
shopt -s -o pipefail
set -e

PKG_NAME="sqlite"
PKG_VERSION="3110000"

TARBALL="${PKG_NAME}-autoconf-${PKG_VERSION}.tar.gz"
SRC_DIR="${PKG_NAME}-autoconf-${PKG_VERSION}"

function prepare() {
    ln -sv "/source/$TARBALL" "$TARBALL"
}

function unpack() {
    tar xf ${TARBALL}
}

function build() {
	./configure --prefix=/usr --disable-static        \
				CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 \
				-DSQLITE_ENABLE_COLUMN_METADATA=1     \
				-DSQLITE_ENABLE_UNLOCK_NOTIFY=1       \
				-DSQLITE_SECURE_DELETE=1              \
				-DSQLITE_ENABLE_DBSTAT_VTAB=1" &&
	make -j1
}

function check() {
	echo " "
}

function instal() {
	make -j1 install
}

function clean() {
    rm -rf "${SRC_DIR}" "$TARBALL"
}

clean;prepare;unpack;pushd ${SRC_DIR};build;[[ $MAKE_CHECK = TRUE ]] && check;instal;popd;clean
{'fraction_non_alphanumeric': 0.15813424345847554, 'fraction_numerical': 0.020477815699658702, 'mean_word_length': 3.198090692124105, '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': '1840183', 'n_tokens_mistral': 761, 'n_tokens_neox': 716, 'n_words': 116}