blob: 4c6c8fde4ad2e90b928ac5359a6a1b1eeb6c54c4 [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"
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 \
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"
28FILES_idn = "${bindir}/*"
29
30LICENSE_${PN} = "LGPLv2.1+ | LGPLv3"
31LICENSE_idn = "GPLv3+"
32
33EXTRA_OECONF = "--disable-csharp"
34
35do_install_append() {
36 rm -rf ${D}${datadir}/emacs
37}
38
39BBCLASSEXTEND = "native nativesdk"
40