<commit_before>SUMMARY = "reimplement libdjb"
DESCRIPTION = "libowfat is a library of general purpose APIs extracted from Dan \
Bernstein's software (libdjb), reimplemented and covered by the GNU \
General Public License Version 2 (no later versions)."
HOMEPAGE = "http://www.fefe.de/libowfat"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"

SRC_URI = "https://www.fefe.de/${BPN}/${BP}.tar.xz \
           file://0001-Depend-on-haveuint128.h-for-umult64.c.patch \
          "
SRC_URI[md5sum] = "ee015ccf45cb2bc61c942642038c2bdc"
SRC_URI[sha256sum] = "f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1"

EXTRA_OEMAKE = "\
    DIET= \
    CC='${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}' \
    CCC='${CC}' CFLAGS='${CFLAGS} -I.' CFLAGS_OPT='${CFLAGS} -I.' \
"

do_install() {
    make install \
        DESTDIR=${D} \
        INCLUDEDIR=${includedir} \
        LIBDIR=${libdir} \
        MAN3DIR=${mandir}/man3
}

BBCLASSEXTEND = "native nativesdk"
<commit_msg>libowfat: fix sdk installation<commit_after>SUMMARY = "reimplement libdjb"
DESCRIPTION = "libowfat is a library of general purpose APIs extracted from Dan \
Bernstein's software (libdjb), reimplemented and covered by the GNU \
General Public License Version 2 (no later versions)."
HOMEPAGE = "http://www.fefe.de/libowfat"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"

SRC_URI = "https://www.fefe.de/${BPN}/${BP}.tar.xz \
           file://0001-Depend-on-haveuint128.h-for-umult64.c.patch \
          "
SRC_URI[md5sum] = "ee015ccf45cb2bc61c942642038c2bdc"
SRC_URI[sha256sum] = "f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1"

EXTRA_OEMAKE = "\
    DIET= \
    CC='${BUILD_CC} ${BUILD_CPPFLAGS} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}' \
    CCC='${CC}' CFLAGS='${CFLAGS} -I.' CFLAGS_OPT='${CFLAGS} -I.' \
"

do_install() {
    make install \
        DESTDIR=${D} \
        INCLUDEDIR=${includedir} \
        LIBDIR=${libdir} \
        MAN3DIR=${mandir}/man3
}

ALLOW_EMPTY_${PN} = "1"

BBCLASSEXTEND = "native nativesdk"

{'fraction_non_alphanumeric': 0.14697542533081284, 'fraction_numerical': 0.08459357277882798, 'mean_word_length': 3.9929245283018866, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '7315676', 'n_tokens_mistral': 971, 'n_tokens_neox': 864, 'n_words': 137}