<commit_before>DESCRIPTION = "libelf is an ELF object file access library. \
The elf library provides routines to access, and manipulate, Elf object files."
LICENSE = "LGPL"
SECTION = "libs"

SRC_URI = "http://www.mr511.de/software/libelf-${PV}.tar.gz \
           http://www.stud.uni-hannover.de/~michael/software/libelf-${PV}.tar.gz"

inherit autotools

PARALLEL_MAKE = ""

do_configure_prepend () {
	if test ! -e acinclude.m4; then
		cp aclocal.m4 acinclude.m4
	fi
}

do_install () {
	oe_runmake 'prefix=${D}${prefix}' 'exec_prefix=${D}${exec_prefix}' \
		   'libdir=${D}${libdir}' 'includedir=${D}${includedir}' \
		   install
}

do_stage () {<commit_msg>libelf: fix another GNU_HASH issues while building libelf<commit_after>DESCRIPTION = "libelf is an ELF object file access library. \
The elf library provides routines to access, and manipulate, Elf object files."
LICENSE = "LGPL"
SECTION = "libs"
PR = "r1"

SRC_URI = "http://www.mr511.de/software/libelf-${PV}.tar.gz \
           http://www.stud.uni-hannover.de/~michael/software/libelf-${PV}.tar.gz"

inherit autotools

PARALLEL_MAKE = ""

TARGET_CC_ARCH += "${LDFLAGS}"

do_configure_prepend () {
	if test ! -e acinclude.m4; then
		cp aclocal.m4 acinclude.m4
	fi
}

do_install () {
	oe_runmake 'prefix=${D}${prefix}' 'exec_prefix=${D}${exec_prefix}' \
		   'libdir=${D}${libdir}' 'includedir=${D}${includedir}' \
		   install
}

do_stage () {
{'fraction_non_alphanumeric': 0.1631054131054131, 'fraction_numerical': 0.009259259259259259, 'mean_word_length': 4.109090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1982464', 'n_tokens_mistral': 553, 'n_tokens_neox': 516, 'n_words': 109}