blob: 7f33fd2b1f56fd610381de7a45c8d1beea65ad35 [file] [log] [blame]
Andrew Geissler220dafd2023-10-04 10:18:08 -05001SUMMARY = "IDN Perl module"
2DESCRIPTION = "This module provides an easy-to-use interface for encoding \
3 and decoding Internationalized Domain Names (IDNs)."
4
5SECTION = "libs"
6
7LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=8ea5704cf65ca4ec6e9e167fb94f14dd"
9
Patrick Williamsac13d5f2023-11-24 18:59:46 -060010SRC_URI = "${CPAN_MIRROR}/authors/id/C/CF/CFAERBER/Net-IDN-Encode-${PV}.tar.gz \
11 file://Net-IDN-Encode-2.500-use_uvchr_to_utf8_flags_instead_of_uvuni_to_utf8_flags.patch \
12"
Andrew Geissler220dafd2023-10-04 10:18:08 -050013SRC_URI[sha256sum] = "55453633e3ff24ce325b34bc2c8157b9859962a31ab5cf28bf7ccc1c9b3a3eaa"
14
15S = "${WORKDIR}/Net-IDN-Encode-${PV}"
16
17inherit cpan ptest-perl
18
19do_configure:prepend() {
20 perl -pi -e 's/auto_install_now.*//g' Makefile.PL
21}
22
23BBCLASSEXTEND = "native"
24
Patrick Williamsac13d5f2023-11-24 18:59:46 -060025RDEPENDS:${PN} += "perl-module-unicode-normalize perl-module-encode-encoding"