mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 10:43:02 +01:00
mcopy uses the IBM850 codepage from gconv. The default install location for gconv will not match the actual install location since it can be pulled from sstate. This patch overrides the default location when running by adding GCONV_PATH to the environment for mcopy. [YOCTO #7629] (From OE-Core rev: ba3493c434ced719135082607e5f2e1d87559952) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
53 lines
1.4 KiB
BlitzBasic
53 lines
1.4 KiB
BlitzBasic
SUMMARY = "Utilities to access MS-DOS disks without mounting them"
|
|
DESCRIPTION = "Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them."
|
|
HOMEPAGE = "http://www.gnu.org/software/mtools/"
|
|
SECTION = "optional"
|
|
LICENSE = "GPLv3"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
|
|
|
RDEPENDS_${PN} = "glibc-gconv-ibm850"
|
|
RRECOMMENDS_${PN} = "\
|
|
glibc-gconv-ibm437 \
|
|
glibc-gconv-ibm737 \
|
|
glibc-gconv-ibm775 \
|
|
glibc-gconv-ibm851 \
|
|
glibc-gconv-ibm852 \
|
|
glibc-gconv-ibm855 \
|
|
glibc-gconv-ibm857 \
|
|
glibc-gconv-ibm860 \
|
|
glibc-gconv-ibm861 \
|
|
glibc-gconv-ibm862 \
|
|
glibc-gconv-ibm863 \
|
|
glibc-gconv-ibm865 \
|
|
glibc-gconv-ibm866 \
|
|
glibc-gconv-ibm869 \
|
|
"
|
|
SRC_URI[md5sum] = "a23646617546bf6ad56f061d8b283c85"
|
|
SRC_URI[sha256sum] = "59e9cf80885399c4f229e5d87e49c0c2bfeec044e1386d59fcd0b0aead6b2f85"
|
|
|
|
SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \
|
|
file://mtools-makeinfo.patch \
|
|
file://no-x11.gplv3.patch"
|
|
|
|
|
|
inherit autotools texinfo
|
|
|
|
EXTRA_OECONF = "--without-x"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd"
|
|
|
|
do_install_prepend () {
|
|
# Create bindir to fix parallel installation issues
|
|
mkdir -p ${D}/${bindir}
|
|
mkdir -p ${D}/${datadir}
|
|
}
|
|
|
|
do_install_append_class-native () {
|
|
create_wrapper ${D}${bindir}/mcopy \
|
|
GCONV_PATH=${libdir}/gconv
|
|
}
|