Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Internationalized Domain Name support library" |
| 2 | DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group." |
| 3 | HOMEPAGE = "http://www.gnu.org/software/libidn/" |
| 4 | SECTION = "libs" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 5 | LICENSE = "(LGPL-2.1-or-later | LGPL-3.0-only) & GPL-3.0-or-later" |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=f95a3dc99fecfa9a0c4e726d4b5d822f \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | file://COPYING.LESSERv2;md5=4fbd65380cdd255951079008b364516c \ |
| 8 | file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ |
| 9 | file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 10 | 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 Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | DEPENDS = "virtual/libiconv autoconf-archive" |
| 16 | |
| 17 | inherit pkgconfig autotools gettext texinfo gtk-doc |
| 18 | |
| 19 | SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \ |
| 20 | file://dont-depend-on-help2man.patch \ |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 21 | file://0001-largefile.m4-Sync-with-latest-gnulib.patch \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 22 | " |
| 23 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 24 | #SRC_URI[md5sum] = "813c7b268d1051ca02c3610986126f38" |
| 25 | #SRC_URI[sha256sum] = "14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038" |
| 26 | SRC_URI[sha256sum] = "884d706364b81abdd17bee9686d8ff2ae7431c5a14651047c68adf8b31fd8945" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 27 | |
| 28 | # command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3 |
| 29 | # so package command into a separate package |
| 30 | PACKAGES =+ "idn" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | FILES:idn = "${bindir}/*" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 32 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 33 | LICENSE:${PN} = "LGPL-2.1-or-later | LGPL-3.0-only" |
| 34 | LICENSE:idn = "GPL-3.0-or-later" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 35 | |
| 36 | EXTRA_OECONF = "--disable-csharp" |
| 37 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 38 | do_install:append() { |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 39 | rm -rf ${D}${datadir}/emacs |
| 40 | } |
| 41 | |
| 42 | BBCLASSEXTEND = "native nativesdk" |
| 43 | |