diff options
Diffstat (limited to 'meta/recipes-extended/libidn/libidn2_2.3.2.bb')
-rw-r--r-- | meta/recipes-extended/libidn/libidn2_2.3.2.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-extended/libidn/libidn2_2.3.2.bb b/meta/recipes-extended/libidn/libidn2_2.3.2.bb new file mode 100644 index 0000000000..f1f6fcba05 --- /dev/null +++ b/meta/recipes-extended/libidn/libidn2_2.3.2.bb | |||
@@ -0,0 +1,31 @@ | |||
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" | ||
5 | LICENSE = "(GPLv2+ | LGPLv3) & GPLv3+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d834ea7d480438ada04e5d846152395 \ | ||
7 | file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | ||
8 | file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
9 | file://src/idn2.c;endline=16;md5=e4b6d628a84a55f1fd8ae4c76c5f6509 \ | ||
10 | file://lib/idn2.h.in;endline=27;md5=d0fc8ec628be130a1d5b889107e92477" | ||
11 | |||
12 | SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz" | ||
13 | SRC_URI[sha256sum] = "76940cd4e778e8093579a9d195b25fff5e936e9dc6242068528b437a76764f91" | ||
14 | |||
15 | DEPENDS = "virtual/libiconv libunistring" | ||
16 | |||
17 | inherit pkgconfig autotools gettext texinfo gtk-doc lib_package | ||
18 | |||
19 | EXTRA_OECONF += "--disable-rpath \ | ||
20 | --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \ | ||
21 | " | ||
22 | |||
23 | do_install:append() { | ||
24 | # 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 | |||
28 | LICENSE:${PN} = "(GPLv2+ | LGPLv3)" | ||
29 | LICENSE:${PN}-bin = "GPLv3+" | ||
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||