diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-02-21 18:05:50 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-28 15:52:17 +0100 |
commit | 5c1243c5c034b9aad101c3acabb7093c755db5c6 (patch) | |
tree | 3b3e5ea9d0a181c13678dd0e9f652922abc80726 /meta/recipes-support/libiconv/libiconv_1.14.bb | |
parent | 5ab44ed7a53ab5fb2b7846749faba465b54e99e1 (diff) | |
download | poky-5c1243c5c034b9aad101c3acabb7093c755db5c6.tar.gz |
libiconv: remove recipe
It was in use by oe-core only when uclibc was used, and so serves
no purpose anymore. Both glibc and musl provide their own implementation.
However, meta-mingw still depends on it, and so the recipe has been moved there.
(From OE-Core rev: fd5f849353e045d60965079a1571160fdd980b0c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libiconv/libiconv_1.14.bb')
-rw-r--r-- | meta/recipes-support/libiconv/libiconv_1.14.bb | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/meta/recipes-support/libiconv/libiconv_1.14.bb b/meta/recipes-support/libiconv/libiconv_1.14.bb deleted file mode 100644 index 8d272eb6a0..0000000000 --- a/meta/recipes-support/libiconv/libiconv_1.14.bb +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | SUMMARY = "Character encoding support library" | ||
2 | DESCRIPTION = "GNU libiconv - libiconv is for you if your application needs to support \ | ||
3 | multiple character encodings, but that support lacks from your system." | ||
4 | HOMEPAGE = "http://www.gnu.org/software/libiconv" | ||
5 | SECTION = "libs" | ||
6 | NOTES = "Needs to be stripped down to: ascii iso8859-1 eucjp iso-2022jp gb utf8" | ||
7 | PROVIDES = "virtual/libiconv" | ||
8 | PR = "r1" | ||
9 | LICENSE = "LGPLv3" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \ | ||
11 | file://libcharset/COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674" | ||
12 | |||
13 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ | ||
14 | file://autoconf.patch \ | ||
15 | file://add-relocatable-module.patch \ | ||
16 | file://0001-Fix-link-error-when-compiling-with-gcc-O0.patch \ | ||
17 | " | ||
18 | |||
19 | SRC_URI[md5sum] = "e34509b1623cec449dfeb73d7ce9c6c6" | ||
20 | SRC_URI[sha256sum] = "72b24ded17d687193c3366d0ebe7cde1e6b18f0df8c55438ac95be39e8a30613" | ||
21 | |||
22 | S = "${WORKDIR}/libiconv-${PV}" | ||
23 | |||
24 | inherit autotools pkgconfig gettext | ||
25 | |||
26 | python __anonymous() { | ||
27 | if d.getVar("TARGET_OS") != "linux": | ||
28 | return | ||
29 | if d.getVar("TCLIBC") == "glibc": | ||
30 | raise bb.parse.SkipPackage("libiconv is provided for use with uClibc only - glibc already provides iconv") | ||
31 | } | ||
32 | |||
33 | EXTRA_OECONF += "--enable-shared --enable-static --enable-relocatable" | ||
34 | |||
35 | LEAD_SONAME = "libiconv.so" | ||
36 | |||
37 | do_configure_prepend () { | ||
38 | rm -f ${S}/m4/libtool.m4 ${S}/m4/ltoptions.m4 ${S}/m4/ltsugar.m4 ${S}/m4/ltversion.m4 ${S}/m4/lt~obsolete.m4 ${S}/libcharset/m4/libtool.m4 ${S}/libcharset/m4/ltoptions.m4 ${S}/libcharset/m4/ltsugar.m4 ${S}/libcharset/m4/ltversion.m4 ${S}/libcharset/m4/lt~obsolete.m4 | ||
39 | } | ||
40 | |||
41 | do_configure_append () { | ||
42 | # forcibly remove RPATH from libtool | ||
43 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' *libtool | ||
44 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=_NO_RPATH_|g' *libtool | ||
45 | } | ||
46 | |||
47 | do_install_append () { | ||
48 | rm -rf ${D}${libdir}/preloadable_libiconv.so | ||
49 | rm -rf ${D}${libdir}/charset.alias | ||
50 | } | ||
51 | |||
52 | BBCLASSEXTEND = "nativesdk" | ||