blob: 501875037acb4df10cf18a9f2b72b23586a342df [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
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 "
Andrew Geissler5f350902021-07-23 13:09:54 -040027SRC_URI[sha256sum] = "62498cd51ae7c79a27c879a45f0d2a8c44e1404cbb901372d09b02735ef5ad89"
Brad Bishopc342db32019-05-15 21:57:59 -040028
29SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \
30 file://mtools-makeinfo.patch \
31 file://no-x11.gplv3.patch \
32 file://clang_UNUSED.patch \
33 "
34
35SRC_URI_append_class-native = " file://disable-hardcoded-configs.patch"
36
Andrew Geissler5a43b432020-06-13 10:46:56 -050037inherit autotools texinfo
Brad Bishopc342db32019-05-15 21:57:59 -040038
39EXTRA_OECONF = "--without-x"
40
41BBCLASSEXTEND = "native nativesdk"
42
43PACKAGECONFIG ??= ""
44PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd"
45
46do_install_prepend () {
47 # Create bindir to fix parallel installation issues
48 mkdir -p ${D}/${bindir}
49 mkdir -p ${D}/${datadir}
50}