xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/libidn/libidn_1.36.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "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 = "(LGPL-2.1-or-later | LGPL-3.0-only) & GPL-3.0-or-later"
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=c381d797e2d7fbdace7c147b1285d076 \
12                    file://src/idn.c;endline=20;md5=7d88aa87b0494d690bdf7748fe08d536"
13DEPENDS = "virtual/libiconv autoconf-archive"
14
15inherit pkgconfig autotools gettext texinfo gtk-doc
16
17SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \
18           file://dont-depend-on-help2man.patch \
19           file://0001-idn-format-security-warnings.patch \
20           "
21
22SRC_URI[md5sum] = "813c7b268d1051ca02c3610986126f38"
23SRC_URI[sha256sum] = "14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038"
24
25# command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3
26# so package command into a separate package
27PACKAGES =+ "idn"
28FILES:idn = "${bindir}/*"
29
30LICENSE:${PN} = "LGPL-2.1-or-later | LGPL-3.0-only"
31LICENSE:idn = "GPL-3.0-or-later"
32
33EXTRA_OECONF = "--disable-csharp"
34
35do_install:append() {
36	rm -rf ${D}${datadir}/emacs
37}
38
39BBCLASSEXTEND = "native nativesdk"
40
41