<commit_before>DESCRIPTION = "Packages that are required for the OpenSlug native build environment"
LICENSE = MIT
PR = "r3"

INHIBIT_DEFAULT_DEPS = "1"
ALLOW_EMPTY = 1
PACKAGES = "${PN}"

OPENSLUG_NATIVE = "\
	automake \
	bash \
	binutils binutils-dev \
	bison \
	bzip2 \
	coreutils \
	cpp cpp-symlinks \
	cvs \
	flex \
	gawk \
	g++ g++-symlinks \
	gcc gcc-symlinks \
	glibc-extra-nss glibc-utils \
	gnu-config \
	libc6 libc6-dev \
	libg2c-dev \
	libgdbm3 \
	libperl5 \
	libreadline4 libreadline-dev \
	libstdc++-dev \
	libthread-db1 \
	lrzsz \
	m4 \
	make \
	ncurses ncurses-dev ncurses-terminfo \
	patch \
	sed \
	tar \
	util-linux \
	wget \
	"

RDEPENDS = '${OPENSLUG_NATIVE}'

pkg_postinst_${PN} () {
	# Fix some strange .so-files with strange comments in them. This should
	# really be done in the packages providing these, but untill that, this
	# works, and will not break anything when it actually gets fixed
	tail -n 2 /usr/lib/libc.so > /tmp/tmpfile
	mv /tmp/tmpfile /usr/lib/libc.so
	tail -n 2 /usr/lib/libpthread.so > /tmp/tmpfile
	mv /tmp/tmpfile /usr/lib/libpthread.so
}
<commit_msg>Add binutils-symlinks, remove the libc.so and libpthread.so fix since things work without it<commit_after>DESCRIPTION = "Packages that are required for the OpenSlug native build environment"
LICENSE = MIT
PR = "r4"

INHIBIT_DEFAULT_DEPS = "1"
ALLOW_EMPTY = 1
PACKAGES = "${PN}"

OPENSLUG_NATIVE = "\
	automake \
	bash \
	binutils binutils-dev binutils-symlinks \
	bison \
	bzip2 \
	coreutils \
	cpp cpp-symlinks \
	cvs \
	flex \
	gawk \
	g++ g++-symlinks \
	gcc gcc-symlinks \
	glibc-extra-nss glibc-utils \
	gnu-config \
	libc6 libc6-dev \
	libg2c-dev \
	libgdbm3 \
	libperl5 \
	libreadline4 libreadline-dev \
	libstdc++-dev \
	libthread-db1 \
	lrzsz \
	m4 \
	make \
	ncurses ncurses-dev ncurses-terminfo \
	patch \
	sed \
	tar \
	util-linux \
	wget \
	"

RDEPENDS = '${OPENSLUG_NATIVE}'

{'fraction_non_alphanumeric': 0.1129374337221633, 'fraction_numerical': 0.013785790031813362, 'mean_word_length': 2.9149377593360994, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '646824', 'n_tokens_mistral': 813, 'n_tokens_neox': 789, 'n_words': 190}