blob: b4303a1623a92f27a3462cb1c14b8802d84cbb06 [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 Geisslerfc113ea2023-03-31 09:59:46 -05006LIC_FILES_CHKSUM = "file://COPYING;md5=f95a3dc99fecfa9a0c4e726d4b5d822f \
Andrew Geissler82c905d2020-04-13 13:39:40 -05007 file://COPYING.LESSERv2;md5=4fbd65380cdd255951079008b364516c \
8 file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
9 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050010 file://COPYINGv3;md5=11cc2d3ee574f9d6b7ee797bdce4d423 \
11 file://lib/idna.h;endline=21;md5=176de4fe1d98e59d743d3b12a850e4cb \
12 file://src/idn.c;endline=20;md5=dd17b9093355bf669e2ea108d2defbd0 \
13 "
14
Andrew Geissler82c905d2020-04-13 13:39:40 -050015DEPENDS = "virtual/libiconv autoconf-archive"
16
17inherit pkgconfig autotools gettext texinfo gtk-doc
18
19SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \
20 file://dont-depend-on-help2man.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050021 "
22
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050023#SRC_URI[md5sum] = "813c7b268d1051ca02c3610986126f38"
24#SRC_URI[sha256sum] = "14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038"
25SRC_URI[sha256sum] = "884d706364b81abdd17bee9686d8ff2ae7431c5a14651047c68adf8b31fd8945"
Andrew Geissler82c905d2020-04-13 13:39:40 -050026
27# command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3
28# so package command into a separate package
29PACKAGES =+ "idn"
Patrick Williams213cb262021-08-07 19:21:33 -050030FILES:idn = "${bindir}/*"
Andrew Geissler82c905d2020-04-13 13:39:40 -050031
Andrew Geissler9aee5002022-03-30 16:27:02 +000032LICENSE:${PN} = "LGPL-2.1-or-later | LGPL-3.0-only"
33LICENSE:idn = "GPL-3.0-or-later"
Andrew Geissler82c905d2020-04-13 13:39:40 -050034
35EXTRA_OECONF = "--disable-csharp"
36
Patrick Williams213cb262021-08-07 19:21:33 -050037do_install:append() {
Andrew Geissler82c905d2020-04-13 13:39:40 -050038 rm -rf ${D}${datadir}/emacs
39}
40
41BBCLASSEXTEND = "native nativesdk"
42