blob: 9e8bdbae188d0f383676a3bf608dd4966a5558f1 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001SUMMARY = "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 = "(LGPLv2.1+ | LGPLv3) & GPLv3+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=df4be47940a91ee69556f5f71eed4aec \
7 file://COPYING.LESSERv2;md5=4fbd65380cdd255951079008b364516c \
8 file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
9 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
10 file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504 \
11 file://lib/idna.h;endline=21;md5=37cffad24807f446a24de3e7371f20b9 \
12 file://src/idn.c;endline=20;md5=09e97034a8877b3451cb65065fc2c06e"
13DEPENDS = "virtual/libiconv"
14
15inherit pkgconfig autotools gettext texinfo gtk-doc
16
17SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \
18 file://libidn_fix_for_automake-1.12.patch \
19 file://avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch \
20 file://dont-depend-on-help2man.patch \
21 file://0001-idn-fix-printf-format-security-warnings.patch \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022 file://gcc7-compatibility.patch \
23 file://0001-idn-format-security-warnings.patch \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060024"
25
26SRC_URI[md5sum] = "a9aa7e003665de9c82bd3f9fc6ccf308"
27SRC_URI[sha256sum] = "44a7aab635bb721ceef6beecc4d49dfd19478325e1b47f3196f7d2acc4930e19"
28
29# command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3
30# so package command into a separate package
31PACKAGES =+ "idn"
32FILES_idn = "${bindir}/*"
33
34LICENSE_${PN} = "LGPLv2.1+ | LGPLv3"
35LICENSE_idn = "GPLv3+"
36
37EXTRA_OECONF = "--disable-csharp"
38
39do_install_append() {
40 rm -rf ${D}${datadir}/emacs
41}
42
43BBCLASSEXTEND = "native nativesdk"
44