diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-01-26 11:14:34 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-26 22:32:00 +0000 |
commit | 9f4b088e2fc819ac1a13d41895e21fe707ba6f53 (patch) | |
tree | e52219b047b3f24ffd2b10bdd0ddf01161123a50 /meta/recipes-devtools/mtools | |
parent | 2c14be3507e47c795d6e1e12ff2d8f186921b215 (diff) | |
download | poky-9f4b088e2fc819ac1a13d41895e21fe707ba6f53.tar.gz |
mtools: keep v3.9.9 recipe in sync with the v4.0.18 version
Changes are mostly cosmetic, but also include one important fix
to support builds using musl libc.
http://git.openembedded.org/openembedded-core/commit/?id=9f5eb272784d3be17e7fe8e7cab511bd4086ba1e
(From OE-Core rev: c03cdb8a9f1929d9ef03c55b8b18d60ff69db447)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/mtools')
-rw-r--r-- | meta/recipes-devtools/mtools/mtools_3.9.9.bb | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/meta/recipes-devtools/mtools/mtools_3.9.9.bb b/meta/recipes-devtools/mtools/mtools_3.9.9.bb index c284a71b4e..26d52a9842 100644 --- a/meta/recipes-devtools/mtools/mtools_3.9.9.bb +++ b/meta/recipes-devtools/mtools/mtools_3.9.9.bb | |||
@@ -1,16 +1,15 @@ | |||
1 | # mtools OE build file | ||
2 | # Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved | ||
3 | # Released under the MIT license (see packages/COPYING) | ||
4 | |||
5 | SUMMARY = "Utilities to access MS-DOS disks without mounting them" | 1 | SUMMARY = "Utilities to access MS-DOS disks without mounting them" |
6 | DESCRIPTION = "Mtools is a collection of utilities for accessing MS-DOS disks from Unix without mounting them." | 2 | DESCRIPTION = "Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them." |
7 | HOMEPAGE = "http://www.gnu.org/software/mtools/" | 3 | HOMEPAGE = "http://www.gnu.org/software/mtools/" |
4 | SECTION = "optional" | ||
8 | LICENSE = "GPLv2+" | 5 | LICENSE = "GPLv2+" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=92b58ec77696788ce278b044d2a8e9d3" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=92b58ec77696788ce278b044d2a8e9d3" |
10 | PR = "r6" | 7 | PR = "r6" |
11 | 8 | ||
12 | RDEPENDS_${PN} = "glibc-gconv-ibm850" | 9 | DEPENDS += "virtual/libiconv" |
13 | RRECOMMENDS_${PN} = "\ | 10 | |
11 | RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850" | ||
12 | RRECOMMENDS_${PN}_libc-glibc = "\ | ||
14 | glibc-gconv-ibm437 \ | 13 | glibc-gconv-ibm437 \ |
15 | glibc-gconv-ibm737 \ | 14 | glibc-gconv-ibm737 \ |
16 | glibc-gconv-ibm775 \ | 15 | glibc-gconv-ibm775 \ |
@@ -26,24 +25,22 @@ RRECOMMENDS_${PN} = "\ | |||
26 | glibc-gconv-ibm866 \ | 25 | glibc-gconv-ibm866 \ |
27 | glibc-gconv-ibm869 \ | 26 | glibc-gconv-ibm869 \ |
28 | " | 27 | " |
29 | |||
30 | #http://mtools.linux.lu/mtools-${PV}.tar.gz | ||
31 | SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/mtools-${PV}.tar.gz \ | ||
32 | file://mtools-makeinfo.patch \ | ||
33 | file://mtools.patch \ | ||
34 | file://no-x11.patch \ | ||
35 | file://fix-broken-lz.patch \ | ||
36 | " | ||
37 | |||
38 | SRC_URI[md5sum] = "3e68b857b4e1f3a6521d1dfefbd30a36" | 28 | SRC_URI[md5sum] = "3e68b857b4e1f3a6521d1dfefbd30a36" |
39 | SRC_URI[sha256sum] = "af083a73425d664d4607ef6c6564fd9319a0e47ee7c105259a45356cb834690e" | 29 | SRC_URI[sha256sum] = "af083a73425d664d4607ef6c6564fd9319a0e47ee7c105259a45356cb834690e" |
40 | 30 | ||
41 | S = "${WORKDIR}/mtools-${PV}" | 31 | #http://mtools.linux.lu/mtools-${PV}.tar.gz |
32 | SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/mtools-${PV}.tar.gz \ | ||
33 | file://mtools-makeinfo.patch \ | ||
34 | file://mtools.patch \ | ||
35 | file://no-x11.patch \ | ||
36 | file://fix-broken-lz.patch" | ||
42 | 37 | ||
43 | inherit autotools texinfo | 38 | inherit autotools texinfo |
44 | 39 | ||
45 | EXTRA_OECONF = "--without-x" | 40 | EXTRA_OECONF = "--without-x" |
46 | 41 | ||
42 | LDFLAGS_append_libc-uclibc = " -liconv " | ||
43 | |||
47 | BBCLASSEXTEND = "native nativesdk" | 44 | BBCLASSEXTEND = "native nativesdk" |
48 | 45 | ||
49 | PACKAGECONFIG ??= "" | 46 | PACKAGECONFIG ??= "" |
@@ -54,3 +51,8 @@ do_install_prepend () { | |||
54 | mkdir -p ${D}/${bindir} | 51 | mkdir -p ${D}/${bindir} |
55 | mkdir -p ${D}/${datadir} | 52 | mkdir -p ${D}/${datadir} |
56 | } | 53 | } |
54 | |||
55 | do_install_append_class-native () { | ||
56 | create_wrapper ${D}${bindir}/mcopy \ | ||
57 | GCONV_PATH=${libdir}/gconv | ||
58 | } | ||