blob: bcbfdd85b91301c77a798057ebb0dccb89668d86 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "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"
5LICENSE = "(GPLv2+ | LGPLv3) & GPLv3+"
Brad Bishop15ae2502019-06-18 21:44:24 -04006LIC_FILES_CHKSUM = "file://COPYING;md5=2d834ea7d480438ada04e5d846152395 \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08007 file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
8 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
Brad Bishop15ae2502019-06-18 21:44:24 -04009 file://src/idn2.c;endline=16;md5=426b74d6deb620ab6d39c8a6efd4c13a \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080010 file://lib/idn2.h.in;endline=27;md5=c2cd28d3f87260f157f022eabb83714f"
11
Brad Bishop15ae2502019-06-18 21:44:24 -040012SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz"
13SRC_URI[md5sum] = "b846d4d20e22b99d6f7387bb66e00a1f"
14SRC_URI[sha256sum] = "fc734732b506d878753ec6606982bf7b936e868c25c30ddb0d83f7d7056381fe"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015
16DEPENDS = "virtual/libiconv libunistring"
17
18inherit pkgconfig autotools gettext texinfo gtk-doc lib_package
19
20EXTRA_OECONF += "--disable-rpath \
21 --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \
22 "
23
Brad Bishop08902b02019-08-20 09:16:51 -040024do_install_append() {
25 sed -i -e 's|-L${STAGING_LIBDIR}||' ${D}${libdir}/pkgconfig/libidn2.pc
26}
27
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080028LICENSE_${PN} = "(GPLv2+ | LGPLv3)"
29LICENSE_${PN}-bin = "GPLv3+"
30
31BBCLASSEXTEND = "native nativesdk"