summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-01-26 11:14:34 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-26 22:32:00 +0000
commit9f4b088e2fc819ac1a13d41895e21fe707ba6f53 (patch)
treee52219b047b3f24ffd2b10bdd0ddf01161123a50 /meta/recipes-devtools
parent2c14be3507e47c795d6e1e12ff2d8f186921b215 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-devtools/mtools/mtools_3.9.9.bb36
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
5SUMMARY = "Utilities to access MS-DOS disks without mounting them" 1SUMMARY = "Utilities to access MS-DOS disks without mounting them"
6DESCRIPTION = "Mtools is a collection of utilities for accessing MS-DOS disks from Unix without mounting them." 2DESCRIPTION = "Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them."
7HOMEPAGE = "http://www.gnu.org/software/mtools/" 3HOMEPAGE = "http://www.gnu.org/software/mtools/"
4SECTION = "optional"
8LICENSE = "GPLv2+" 5LICENSE = "GPLv2+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=92b58ec77696788ce278b044d2a8e9d3" 6LIC_FILES_CHKSUM = "file://COPYING;md5=92b58ec77696788ce278b044d2a8e9d3"
10PR = "r6" 7PR = "r6"
11 8
12RDEPENDS_${PN} = "glibc-gconv-ibm850" 9DEPENDS += "virtual/libiconv"
13RRECOMMENDS_${PN} = "\ 10
11RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850"
12RRECOMMENDS_${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
31SRC_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
38SRC_URI[md5sum] = "3e68b857b4e1f3a6521d1dfefbd30a36" 28SRC_URI[md5sum] = "3e68b857b4e1f3a6521d1dfefbd30a36"
39SRC_URI[sha256sum] = "af083a73425d664d4607ef6c6564fd9319a0e47ee7c105259a45356cb834690e" 29SRC_URI[sha256sum] = "af083a73425d664d4607ef6c6564fd9319a0e47ee7c105259a45356cb834690e"
40 30
41S = "${WORKDIR}/mtools-${PV}" 31#http://mtools.linux.lu/mtools-${PV}.tar.gz
32SRC_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
43inherit autotools texinfo 38inherit autotools texinfo
44 39
45EXTRA_OECONF = "--without-x" 40EXTRA_OECONF = "--without-x"
46 41
42LDFLAGS_append_libc-uclibc = " -liconv "
43
47BBCLASSEXTEND = "native nativesdk" 44BBCLASSEXTEND = "native nativesdk"
48 45
49PACKAGECONFIG ??= "" 46PACKAGECONFIG ??= ""
@@ -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
55do_install_append_class-native () {
56 create_wrapper ${D}${bindir}/mcopy \
57 GCONV_PATH=${libdir}/gconv
58}