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" |
| 5 | LICENSE = "(LGPLv2.1+ | LGPLv3) & GPLv3+" |
| 6 | LIC_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 Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 11 | file://lib/idna.h;endline=21;md5=c381d797e2d7fbdace7c147b1285d076 \ |
| 12 | file://src/idn.c;endline=20;md5=7d88aa87b0494d690bdf7748fe08d536" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 13 | DEPENDS = "virtual/libiconv autoconf-archive" |
| 14 | |
| 15 | inherit pkgconfig autotools gettext texinfo gtk-doc |
| 16 | |
| 17 | SRC_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 Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 22 | SRC_URI[md5sum] = "813c7b268d1051ca02c3610986126f38" |
| 23 | SRC_URI[sha256sum] = "14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 24 | |
| 25 | # command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3 |
| 26 | # so package command into a separate package |
| 27 | PACKAGES =+ "idn" |
| 28 | FILES_idn = "${bindir}/*" |
| 29 | |
| 30 | LICENSE_${PN} = "LGPLv2.1+ | LGPLv3" |
| 31 | LICENSE_idn = "GPLv3+" |
| 32 | |
| 33 | EXTRA_OECONF = "--disable-csharp" |
| 34 | |
| 35 | do_install_append() { |
| 36 | rm -rf ${D}${datadir}/emacs |
| 37 | } |
| 38 | |
| 39 | BBCLASSEXTEND = "native nativesdk" |
| 40 | |