<commit_before>DESCRIPTION = "Utility to dump IrDA traffic."
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "glib-2.0 pkgconfig"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \
	   file://glib2.patch"

S="${WORKDIR}/irda-utils-${PV}/irdadump"

EXTRA_CFLAGS += "`pkg-config --cflags glib-2.0`"
EXTRA_LDFLAGS += "`pkg-config --libs glib-2.0`"

inherit autotools

do_compile() {
    oe_runmake CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}" LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
}

do_install () {
	install -d ${D}${bindir}
	install -m 0755 ${S}/shell/.libs/irdadump ${D}${bindir}
}

SRC_URI[md5sum] = "2ff18f0571b5a331be7cd22fc3decd41"
SRC_URI[sha256sum] = "09a30fa12d81014b2877e8b5c36f5a341788579669d72f2dec0e29d22efe11e9"<commit_msg>irdadump: Use standard installation. * Fixes installation failure with new libtool.<commit_after>DESCRIPTION = "Utility to dump IrDA traffic."
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "glib-2.0 pkgconfig"
PR = "r2"

SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \
	   file://glib2.patch"

S="${WORKDIR}/irda-utils-${PV}/irdadump"

EXTRA_CFLAGS += "`pkg-config --cflags glib-2.0`"
EXTRA_LDFLAGS += "`pkg-config --libs glib-2.0`"

inherit autotools

do_compile() {
    oe_runmake CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}" LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}"
}

SRC_URI[md5sum] = "2ff18f0571b5a331be7cd22fc3decd41"
SRC_URI[sha256sum] = "09a30fa12d81014b2877e8b5c36f5a341788579669d72f2dec0e29d22efe11e9"
{'fraction_non_alphanumeric': 0.16826923076923078, 'fraction_numerical': 0.10164835164835165, 'mean_word_length': 5.68348623853211, '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': '1672555', 'n_tokens_mistral': 718, 'n_tokens_neox': 641, 'n_words': 95}