blob: 3e072b0d934f10d01ce2d2e60c381fb973e3f2a5 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Utilities to access MS-DOS disks without mounting them"
2DESCRIPTION = "Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them."
3HOMEPAGE = "http://www.gnu.org/software/mtools/"
4SECTION = "optional"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00005LICENSE = "GPL-3.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +00006LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
7
8DEPENDS += "virtual/libiconv"
9
10RDEPENDS:${PN}:libc-glibc = "glibc-gconv-ibm850"
11RRECOMMENDS:${PN}:libc-glibc = "\
12 glibc-gconv-ibm437 \
13 glibc-gconv-ibm737 \
14 glibc-gconv-ibm775 \
15 glibc-gconv-ibm851 \
16 glibc-gconv-ibm852 \
17 glibc-gconv-ibm855 \
18 glibc-gconv-ibm857 \
19 glibc-gconv-ibm860 \
20 glibc-gconv-ibm861 \
21 glibc-gconv-ibm862 \
22 glibc-gconv-ibm863 \
23 glibc-gconv-ibm865 \
24 glibc-gconv-ibm866 \
25 glibc-gconv-ibm869 \
26 "
27SRC_URI[sha256sum] = "799b197e23e47b61259628810b27790efb7a1fe36037ef1da8a27b0ae4fa8342"
28
29SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \
30 file://mtools-makeinfo.patch \
31 file://clang_UNUSED.patch \
32 "
33
34SRC_URI:append:class-native = " file://disable-hardcoded-configs.patch"
35
36inherit autotools texinfo
37
38EXTRA_OECONF = "--without-x"
39
40BBCLASSEXTEND = "native nativesdk"
41
42PACKAGECONFIG ??= ""
43PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd"
44
45do_install:prepend () {
46 # Create bindir to fix parallel installation issues
47 mkdir -p ${D}/${bindir}
48 mkdir -p ${D}/${datadir}
49}