blob: 61e98bb0febde450668a40a45aa28bbf34fb850b [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001SUMMARY = "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"
5LICENSE = "GPLv3"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
7
8DEPENDS += "virtual/libiconv"
9
Patrick Williams213cb262021-08-07 19:21:33 -050010RDEPENDS:${PN}:libc-glibc = "glibc-gconv-ibm850"
11RRECOMMENDS:${PN}:libc-glibc = "\
Brad Bishopc342db32019-05-15 21:57:59 -040012 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 "
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050027SRC_URI[sha256sum] = "34769e173751d2f0d891a08c76c80427e929b8ee43438019b8666cc3d7a44749"
Brad Bishopc342db32019-05-15 21:57:59 -040028
29SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \
30 file://mtools-makeinfo.patch \
Brad Bishopc342db32019-05-15 21:57:59 -040031 file://clang_UNUSED.patch \
32 "
33
Patrick Williams213cb262021-08-07 19:21:33 -050034SRC_URI:append:class-native = " file://disable-hardcoded-configs.patch"
Brad Bishopc342db32019-05-15 21:57:59 -040035
Andrew Geissler5a43b432020-06-13 10:46:56 -050036inherit autotools texinfo
Brad Bishopc342db32019-05-15 21:57:59 -040037
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
Patrick Williams213cb262021-08-07 19:21:33 -050045do_install:prepend () {
Brad Bishopc342db32019-05-15 21:57:59 -040046 # Create bindir to fix parallel installation issues
47 mkdir -p ${D}/${bindir}
48 mkdir -p ${D}/${datadir}
49}