blob: 0dea4aff5ca93f0ed97d1c69d312bb1da87f1681 [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"
Andrew Geissler9aee5002022-03-30 16:27:02 +00005LICENSE = "(LGPL-2.1-or-later | LGPL-3.0-only) & GPL-3.0-or-later"
Andrew Geissler82c905d2020-04-13 13:39:40 -05006LIC_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 \
Andrew Geisslerd688a012020-09-18 13:36:00 -050011 file://lib/idna.h;endline=21;md5=c381d797e2d7fbdace7c147b1285d076 \
12 file://src/idn.c;endline=20;md5=7d88aa87b0494d690bdf7748fe08d536"
Andrew Geissler82c905d2020-04-13 13:39:40 -050013DEPENDS = "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
Andrew Geisslerd688a012020-09-18 13:36:00 -050022SRC_URI[md5sum] = "813c7b268d1051ca02c3610986126f38"
23SRC_URI[sha256sum] = "14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038"
Andrew Geissler82c905d2020-04-13 13:39:40 -050024
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"
Patrick Williams213cb262021-08-07 19:21:33 -050028FILES:idn = "${bindir}/*"
Andrew Geissler82c905d2020-04-13 13:39:40 -050029
Andrew Geissler9aee5002022-03-30 16:27:02 +000030LICENSE:${PN} = "LGPL-2.1-or-later | LGPL-3.0-only"
31LICENSE:idn = "GPL-3.0-or-later"
Andrew Geissler82c905d2020-04-13 13:39:40 -050032
33EXTRA_OECONF = "--disable-csharp"
34
Patrick Williams213cb262021-08-07 19:21:33 -050035do_install:append() {
Andrew Geissler82c905d2020-04-13 13:39:40 -050036 rm -rf ${D}${datadir}/emacs
37}
38
39BBCLASSEXTEND = "native nativesdk"
40