<commit_before>SECTION = "console/utils"
DESCRIPTION = "Console utility for padding a file (filling with 0 to reach a specified length)"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pad"
SRC_URI = "file://pad.c"
LICENSE = "PD"
inherit native

do_compile() {
	cp ${WORKDIR}/pad.c .
	${CC} -I. -o pad pad.c
}

do_stage() {
	install -m 0755 pad ${STAGING_BINDIR}/
}<commit_msg>pad-native: converted to new style staging<commit_after>SECTION = "console/utils"
DESCRIPTION = "Console utility for padding a file (filling with 0 to reach a specified length)"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pad"
SRC_URI = "file://pad.c"
LICENSE = "PD"
PR = "r1"
inherit native

do_compile() {
	cp ${WORKDIR}/pad.c .
	${CC} -I. -o pad pad.c
}

do_install() {
	install -d ${D}${bindir}/
	install -m 0755 pad ${D}${bindir}/
}

NATIVE_INSTALL_WORKS = "1"
{'fraction_non_alphanumeric': 0.1781609195402299, 'fraction_numerical': 0.016091954022988506, 'mean_word_length': 4.3765432098765435, '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': '2455664', 'n_tokens_mistral': 345, 'n_tokens_neox': 329, 'n_words': 90}