blob: 7316c031ce5f6d6de8503649432104d4635823c6 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Internationalized Domain Name support library"
2DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group."
3HOMEPAGE = "http://www.gnu.org/software/libidn/"
4SECTION = "libs"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00005LICENSE = "(GPL-2.0-or-later | LGPL-3.0-only) & GPL-3.0-or-later"
Andrew Geissler82c905d2020-04-13 13:39:40 -05006LIC_FILES_CHKSUM = "file://COPYING;md5=2d834ea7d480438ada04e5d846152395 \
7 file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
8 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
William A. Kennington IIIac69b482021-06-02 12:28:27 -07009 file://src/idn2.c;endline=16;md5=e4b6d628a84a55f1fd8ae4c76c5f6509 \
10 file://lib/idn2.h.in;endline=27;md5=d0fc8ec628be130a1d5b889107e92477"
Andrew Geissler82c905d2020-04-13 13:39:40 -050011
12SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz"
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050013SRC_URI[sha256sum] = "76940cd4e778e8093579a9d195b25fff5e936e9dc6242068528b437a76764f91"
Andrew Geissler82c905d2020-04-13 13:39:40 -050014
15DEPENDS = "virtual/libiconv libunistring"
16
17inherit pkgconfig autotools gettext texinfo gtk-doc lib_package
18
19EXTRA_OECONF += "--disable-rpath \
20 --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \
21 "
22
Patrick Williams213cb262021-08-07 19:21:33 -050023do_install:append() {
Andrew Geissler82c905d2020-04-13 13:39:40 -050024 # Need to remove any duplicate whitespace too for reproducibility
25 sed -i -e 's|-L${STAGING_LIBDIR}||' -e 's/ */ /g' ${D}${libdir}/pkgconfig/libidn2.pc
26}
27
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000028LICENSE:${PN} = "(GPL-2.0-or-later | LGPL-3.0-only)"
29LICENSE:${PN}-bin = "GPL-3.0-or-later"
Andrew Geissler82c905d2020-04-13 13:39:40 -050030
31BBCLASSEXTEND = "native nativesdk"