blob: 17ffc6cdc56a25fd1c315f4cad098721d34e50b9 [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 \
Patrick Williams8e7b46e2023-05-01 14:19:06 -050021 file://0001-largefile.m4-Sync-with-latest-gnulib.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050022 "
23
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050024#SRC_URI[md5sum] = "813c7b268d1051ca02c3610986126f38"
25#SRC_URI[sha256sum] = "14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038"
26SRC_URI[sha256sum] = "884d706364b81abdd17bee9686d8ff2ae7431c5a14651047c68adf8b31fd8945"
Andrew Geissler82c905d2020-04-13 13:39:40 -050027
28# command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3
29# so package command into a separate package
30PACKAGES =+ "idn"
Patrick Williams213cb262021-08-07 19:21:33 -050031FILES:idn = "${bindir}/*"
Andrew Geissler82c905d2020-04-13 13:39:40 -050032
Andrew Geissler9aee5002022-03-30 16:27:02 +000033LICENSE:${PN} = "LGPL-2.1-or-later | LGPL-3.0-only"
34LICENSE:idn = "GPL-3.0-or-later"
Andrew Geissler82c905d2020-04-13 13:39:40 -050035
36EXTRA_OECONF = "--disable-csharp"
37
Patrick Williams213cb262021-08-07 19:21:33 -050038do_install:append() {
Andrew Geissler82c905d2020-04-13 13:39:40 -050039 rm -rf ${D}${datadir}/emacs
40}
41
42BBCLASSEXTEND = "native nativesdk"
43