<commit_before>SECTION = "libs"
DESCRIPTION = "Metakit is an efficient embedded database library with a small \
footprint. It fills the gap between flat-file, relational, object-oriented, and \
tree-structured databases, supporting relational joins, serialization, nested structures,\
and instant schema evolution."
LICENSE = "MetaKit"
HOMEPAGE = "http://www.equi4.com/metakit.html"

SRC_URI = "http://www.equi4.com/pub/mk/older/metakit-${PV}.tar.gz \
	   file://metakit-2.4.9.3.patch;patch=1"
PR = "r1"

do_configure_prepend() {

	cp ${STAGING_DATADIR}/libtool/* ${S}/unix/scripts/
	
}
do_configure () {

	cd builds
	../unix/configure \
                   --build=${BUILD_SYS} \
                    --host=${HOST_SYS} \
                    --target=${TARGET_SYS} \
                    --prefix=${prefix} \
                    --exec_prefix=${exec_prefix} \
                    --bindir=${bindir} \
                    --sbindir=${sbindir} \
                    --libexecdir=${libexecdir} \
                    --datadir=${datadir} \
                    --sysconfdir=${sysconfdir} \
                    --sharedstatedir=${sharedstatedir} \
                    --localstatedir=${localstatedir} \<commit_msg>metakit: fix copying of libtool files<commit_after>SECTION = "libs"
DESCRIPTION = "Metakit is an efficient embedded database library with a small \
footprint. It fills the gap between flat-file, relational, object-oriented, and \
tree-structured databases, supporting relational joins, serialization, nested structures,\
and instant schema evolution."
LICENSE = "MetaKit"
HOMEPAGE = "http://www.equi4.com/metakit.html"

SRC_URI = "http://www.equi4.com/pub/mk/older/metakit-${PV}.tar.gz \
	   file://metakit-2.4.9.3.patch;patch=1"
PR = "r1"

do_configure_prepend() {

	cp ${STAGING_DATADIR}/libtool/*.* ${S}/unix/scripts/
	
}
do_configure () {

	cd builds
	../unix/configure \
                   --build=${BUILD_SYS} \
                    --host=${HOST_SYS} \
                    --target=${TARGET_SYS} \
                    --prefix=${prefix} \
                    --exec_prefix=${exec_prefix} \
                    --bindir=${bindir} \
                    --sbindir=${sbindir} \
                    --libexecdir=${libexecdir} \
                    --datadir=${datadir} \
                    --sysconfdir=${sysconfdir} \
                    --sharedstatedir=${sharedstatedir} \
                    --localstatedir=${localstatedir} \
{'fraction_non_alphanumeric': 0.14643150123051682, 'fraction_numerical': 0.006562756357670222, 'mean_word_length': 1.8795749704840614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 2, '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': '7573150', 'n_tokens_mistral': 772, 'n_tokens_neox': 717, 'n_words': 133}