blob: b48de39fa068e33faa5cc59bea4f65544635a894 [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"
Patrick Williams03907ee2022-05-01 06:28:52 -05005LICENSE = "(GPL-2.0-or-later | LGPL-3.0-only) & GPL-3.0-or-later & Unicode-DFS-2016"
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 \
Patrick Williams03907ee2022-05-01 06:28:52 -05009 file://COPYING.unicode;md5=684cf5f7e3fded3546679424528261a9 \
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050010 file://src/idn2.c;endline=16;md5=0f347a5b17acf44440bf53e406f1df70 \
11 file://lib/idn2.h.in;endline=27;md5=4d7b3771faa9c60067ed1da914508bc5 \
12 "
Andrew Geissler82c905d2020-04-13 13:39:40 -050013
14SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz"
Patrick Williams7784c422022-11-17 07:29:11 -060015SRC_URI[sha256sum] = "93caba72b4e051d1f8d4f5a076ab63c99b77faee019b72b9783b267986dbb45f"
Andrew Geissler82c905d2020-04-13 13:39:40 -050016
17DEPENDS = "virtual/libiconv libunistring"
18
19inherit pkgconfig autotools gettext texinfo gtk-doc lib_package
20
21EXTRA_OECONF += "--disable-rpath \
22 --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \
23 "
24
Patrick Williams213cb262021-08-07 19:21:33 -050025do_install:append() {
Andrew Geissler82c905d2020-04-13 13:39:40 -050026 # Need to remove any duplicate whitespace too for reproducibility
27 sed -i -e 's|-L${STAGING_LIBDIR}||' -e 's/ */ /g' ${D}${libdir}/pkgconfig/libidn2.pc
28}
29
Patrick Williams03907ee2022-05-01 06:28:52 -050030LICENSE:${PN} = "(GPL-2.0-or-later | LGPL-3.0-only) & Unicode-DFS-2016"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000031LICENSE:${PN}-bin = "GPL-3.0-or-later"
Andrew Geissler82c905d2020-04-13 13:39:40 -050032
33BBCLASSEXTEND = "native nativesdk"