<commit_before>#
# base recipe: http://git.yoctoproject.org/cgit/cgit.cgi/meta-cgl/tree/meta-cgl-common/recipes-perl/perl
# base commit: 51c601ee5a25ced6154b4b87f9c1b40838423e6f
#

SUMMARY = "Perl extensions for IPv6"
DESCRIPTION = "The Socket6 module supports getaddrinfo() and getnameinfo() to intend \
to enable protocol independent programming. If your environment \
supports IPv6, IPv6 related defines such as AF_INET6 are included."
HOMEPAGE = "https://metacpan.org/release/Socket6"

PR = "r0"

inherit debian-package

LICENSE = "BSD-3-Clause & ISC"
LIC_FILES_CHKSUM = " \
    file://README;beginline=31;md5=4193e9db290f6adba830af0ffbae842a \
    file://inet_ntop.c;endline=16;md5=d202009b255fffe6953a0d61c2d6fab0 \
"

inherit cpan

CFLAGS += "-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
BUILD_CFLAGS += "-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"

do_configure_prepend() {
	mkdir -p m4
	autoreconf -Wcross --verbose --install --force || oefatal "autoreconf execution failed."
	sed -i 's:\./configure\(.[^-]\):./configure --build=${BUILD_SYS} --host=${HOST_SYS} \
	        --target=${TARGET_SYS} --prefix=${prefix} --exec_prefix=${exec_prefix} \
	        --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} \
	        --datadir=${datadir} --sysconfdir=${sysconfdir} \
	        --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} \
	        --libdir=${libdir} --includedir=${includedir} --oldincludedir=${oldincludedir} \
	        --infodir=${infodir} --mandir=${mandir}\1:' ${S}/Makefile.PL
}

BBCLASSEXTEND = "native"
<commit_msg>libsocket6-perl: Correct configure command in Makefile.PL<commit_after>#
# base recipe: http://git.yoctoproject.org/cgit/cgit.cgi/meta-cgl/tree/meta-cgl-common/recipes-perl/perl
# base commit: 51c601ee5a25ced6154b4b87f9c1b40838423e6f
#

SUMMARY = "Perl extensions for IPv6"
DESCRIPTION = "The Socket6 module supports getaddrinfo() and getnameinfo() to intend \
to enable protocol independent programming. If your environment \
supports IPv6, IPv6 related defines such as AF_INET6 are included."
HOMEPAGE = "https://metacpan.org/release/Socket6"

PR = "r0"

inherit debian-package

LICENSE = "BSD-3-Clause & ISC"
LIC_FILES_CHKSUM = " \
    file://README;beginline=31;md5=4193e9db290f6adba830af0ffbae842a \
    file://inet_ntop.c;endline=16;md5=d202009b255fffe6953a0d61c2d6fab0 \
"

inherit cpan

CFLAGS += "-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
BUILD_CFLAGS += "-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"

do_configure_prepend() {
	mkdir -p m4
	autoreconf -Wcross --verbose --install --force || oefatal "autoreconf execution failed."
	sed -i 's:\./configure\(.[^-]\):./configure --build=${BUILD_SYS} --host=${HOST_SYS} \\\\\
	        --target=${TARGET_SYS} --prefix=${prefix} --exec_prefix=${exec_prefix} \\\\\
	        --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} \\\\\
	        --datadir=${datadir} --sysconfdir=${sysconfdir} \\\\\
	        --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} \\\\\
	        --libdir=${libdir} --includedir=${includedir} --oldincludedir=${oldincludedir} \\\\\
	        --infodir=${infodir} --mandir=${mandir}\1:' ${S}/Makefile.PL
}

BBCLASSEXTEND = "native"

{'fraction_non_alphanumeric': 0.1627108057464085, 'fraction_numerical': 0.050905683947532795, 'mean_word_length': 4.068037974683544, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2010832', 'n_tokens_mistral': 1304, 'n_tokens_neox': 1179, 'n_words': 197}