<commit_before>DESCRIPTION = "Driver for the Ati W100 found on the Sharp Zaurus C[87]x0"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "CLOSED"
PR = "r2"

SRC_URI = "http://mirror1.pdaxrom.org/source/src/AtiCore-1.0.1.tar.bz2 \
		file://aticore-2.6.patch;patch=1"
S = "${WORKDIR}/AtiCore-1.0.1"

EXTRA_OEMAKE="CC='${CC}' AS='${AS}' AR='${AR}' LD='${LD}' FPU='${TARGET_FPU}'"

PARALLEL_MAKE = ""

do_install() {
	install -d ${D}${bindir}
	install -m 0755 testcore ${D}${bindir}/testcore
	install -m 0755 atitest ${D}${bindir}/atitest
	
	install -d ${D}${libdir}
	install -m 0755 libaticore.so.1.0.1 ${D}${libdir}/libaticore.so.1.0.1
	
	install -d ${D}${includedir}
	install -m 0644 aticore.h ${D}${includedir}/aticore.h

	cd ${D}${libdir}/
	ln -s libaticore.so.1.0.1 libaticore.so.1<commit_msg>Update atilib to avoid a segfault<commit_after>DESCRIPTION = "Driver for the Ati W100 found on the Sharp Zaurus C[87]x0"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "CLOSED"
PR = "r3"

SRC_URI = "http://mirror1.pdaxrom.org/source/src/AtiCore-1.0.1.tar.bz2 \
		file://fixstretchblit.patch;patch=1 \
		file://aticore-2.6.patch;patch=1"
S = "${WORKDIR}/AtiCore-1.0.1"

EXTRA_OEMAKE="CC='${CC}' AS='${AS}' AR='${AR}' LD='${LD}' FPU='${TARGET_FPU}'"

PARALLEL_MAKE = ""

do_install() {
	install -d ${D}${bindir}
	install -m 0755 testcore ${D}${bindir}/testcore
	install -m 0755 atitest ${D}${bindir}/atitest
	
	install -d ${D}${libdir}
	install -m 0755 libaticore.so.1.0.1 ${D}${libdir}/libaticore.so.1.0.1
	
	install -d ${D}${includedir}
	install -m 0644 aticore.h ${D}${includedir}/aticore.h

	cd ${D}${libdir}/
	ln -s libaticore.so.1.0.1 libaticore.so.1
{'fraction_non_alphanumeric': 0.2112590799031477, 'fraction_numerical': 0.05387409200968523, 'mean_word_length': 4.332258064516129, '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': '7145966', 'n_tokens_mistral': 794, 'n_tokens_neox': 735, 'n_words': 139}