Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [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 \ |
| 11 | file://lib/idna.h;endline=21;md5=37cffad24807f446a24de3e7371f20b9 \ |
| 12 | file://src/idn.c;endline=20;md5=09e97034a8877b3451cb65065fc2c06e" |
| 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://libidn_fix_for_automake-1.12.patch \ |
| 19 | file://avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch \ |
| 20 | file://dont-depend-on-help2man.patch \ |
| 21 | file://0001-idn-format-security-warnings.patch \ |
| 22 | " |
| 23 | |
| 24 | SRC_URI[md5sum] = "bef634141fe39326cb354b75e891fead" |
| 25 | SRC_URI[sha256sum] = "f11af1005b46b7b15d057d7f107315a1ad46935c7fcdf243c16e46ec14f0fe1e" |
| 26 | |
| 27 | # command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3 |
| 28 | # so package command into a separate package |
| 29 | PACKAGES =+ "idn" |
| 30 | FILES_idn = "${bindir}/*" |
| 31 | |
| 32 | LICENSE_${PN} = "LGPLv2.1+ | LGPLv3" |
| 33 | LICENSE_idn = "GPLv3+" |
| 34 | |
| 35 | EXTRA_OECONF = "--disable-csharp" |
| 36 | |
| 37 | do_install_append() { |
| 38 | rm -rf ${D}${datadir}/emacs |
| 39 | } |
| 40 | |
| 41 | BBCLASSEXTEND = "native nativesdk" |
| 42 | |