Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Internationalized Domain Name support library" |
| 2 | DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group." |
| 3 | HOMEPAGE = "http://www.gnu.org/software/libidn/" |
| 4 | SECTION = "libs" |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 5 | LICENSE = "(GPL-2.0-or-later | LGPL-3.0-only) & GPL-3.0-or-later & Unicode-DFS-2016" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d834ea7d480438ada04e5d846152395 \ |
| 7 | file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ |
| 8 | file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 9 | file://COPYING.unicode;md5=684cf5f7e3fded3546679424528261a9 \ |
William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 10 | file://src/idn2.c;endline=16;md5=e4b6d628a84a55f1fd8ae4c76c5f6509 \ |
| 11 | file://lib/idn2.h.in;endline=27;md5=d0fc8ec628be130a1d5b889107e92477" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 12 | |
| 13 | SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz" |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 14 | SRC_URI[sha256sum] = "76940cd4e778e8093579a9d195b25fff5e936e9dc6242068528b437a76764f91" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | |
| 16 | DEPENDS = "virtual/libiconv libunistring" |
| 17 | |
| 18 | inherit pkgconfig autotools gettext texinfo gtk-doc lib_package |
| 19 | |
| 20 | EXTRA_OECONF += "--disable-rpath \ |
| 21 | --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \ |
| 22 | " |
| 23 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | do_install:append() { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 25 | # Need to remove any duplicate whitespace too for reproducibility |
| 26 | sed -i -e 's|-L${STAGING_LIBDIR}||' -e 's/ */ /g' ${D}${libdir}/pkgconfig/libidn2.pc |
| 27 | } |
| 28 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 29 | LICENSE:${PN} = "(GPL-2.0-or-later | LGPL-3.0-only) & Unicode-DFS-2016" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 30 | LICENSE:${PN}-bin = "GPL-3.0-or-later" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 31 | |
| 32 | BBCLASSEXTEND = "native nativesdk" |