<commit_before>inherit autotools
require protobuf.inc

PACKAGES = "${PN} ${PN}-dev ${PN}-dbg ${PN}-compiler ${PN}-lite"

DEPENDS = "protobuf-native zlib"
RDEPENDS_${PN}-compiler = "${PN}"
RDEPENDS_${PN}-dev += "${PN}-compiler"

PR = "r0"

EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"

FILES_${PN} = "\
	${libdir}/libprotobuf.so.* \
"

FILES_${PN}-compiler = "\
	${bindir} \
	${libdir}/libprotoc.so.* \
"

FILES_${PN}-lite = "\
	${libdir}/libprotobuf-lite.so.* \
"

FILES_${PN}-dev = "\
	${libdir}/*.so \
	${libdir}/*.la \
	${libdir}/pkgconfig \
	${includedir} \
"

BBCLASSEXTEND = "nativesdk"<commit_msg>Protobuf: Add static dev package<commit_after>inherit autotools
require protobuf.inc

PACKAGES = "${PN} ${PN}-dev ${PN}-staticdev ${PN}-dbg ${PN}-compiler ${PN}-lite"

DEPENDS = "protobuf-native zlib"
RDEPENDS_${PN}-compiler = "${PN}"
RDEPENDS_${PN}-dev += "${PN}-compiler"

PR = "r0"

EXTRA_OECONF += " --with-protoc=${STAGING_BINDIR_NATIVE}/protoc"

FILES_${PN} = "\
	${libdir}/libprotobuf.so.* \
"

FILES_${PN}-compiler = "\
	${bindir} \
	${libdir}/libprotoc.so.* \
"

FILES_${PN}-lite = "\
	${libdir}/libprotobuf-lite.so.* \
"

FILES_${PN}-dev = "\
	${libdir}/*.so \
	${libdir}/*.la \
	${libdir}/pkgconfig \
	${includedir} \
"

FILES_${PN}-staticdev = "\
	${libdir}/*.a \
"

BBCLASSEXTEND = "nativesdk"
{'fraction_non_alphanumeric': 0.24511278195488723, 'fraction_numerical': 0.0015037593984962407, 'mean_word_length': 4.041666666666667, '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': '6870966', 'n_tokens_mistral': 588, 'n_tokens_neox': 570, 'n_words': 76}