rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | SUMMARY = "Utilities to access MS-DOS disks without mounting them" |
| 2 | DESCRIPTION = "Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them." |
| 3 | HOMEPAGE = "http://www.gnu.org/software/mtools/" |
| 4 | SECTION = "optional" |
| 5 | LICENSE = "GPLv2+" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=92b58ec77696788ce278b044d2a8e9d3" |
| 7 | PR = "r6" |
| 8 | |
| 9 | DEPENDS += "virtual/libiconv" |
| 10 | |
| 11 | RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850" |
| 12 | RRECOMMENDS_${PN}_libc-glibc = "\ |
| 13 | glibc-gconv-ibm437 \ |
| 14 | glibc-gconv-ibm737 \ |
| 15 | glibc-gconv-ibm775 \ |
| 16 | glibc-gconv-ibm851 \ |
| 17 | glibc-gconv-ibm852 \ |
| 18 | glibc-gconv-ibm855 \ |
| 19 | glibc-gconv-ibm857 \ |
| 20 | glibc-gconv-ibm860 \ |
| 21 | glibc-gconv-ibm861 \ |
| 22 | glibc-gconv-ibm862 \ |
| 23 | glibc-gconv-ibm863 \ |
| 24 | glibc-gconv-ibm865 \ |
| 25 | glibc-gconv-ibm866 \ |
| 26 | glibc-gconv-ibm869 \ |
| 27 | " |
| 28 | SRC_URI[md5sum] = "3e68b857b4e1f3a6521d1dfefbd30a36" |
| 29 | SRC_URI[sha256sum] = "af083a73425d664d4607ef6c6564fd9319a0e47ee7c105259a45356cb834690e" |
| 30 | |
| 31 | #http://mtools.linux.lu/mtools-${PV}.tar.gz |
| 32 | SRC_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 \ |
| 37 | file://0001-Continue-even-if-fs-size-is-not-divisible-by-sectors.patch \ |
| 38 | " |
| 39 | |
| 40 | inherit autotools texinfo |
| 41 | |
| 42 | EXTRA_OECONF = "--without-x" |
| 43 | |
| 44 | LDFLAGS_append_libc-uclibc = " -liconv " |
| 45 | |
| 46 | BBCLASSEXTEND = "native nativesdk" |
| 47 | |
| 48 | PACKAGECONFIG ??= "" |
| 49 | PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd" |
| 50 | |
| 51 | do_install_prepend () { |
| 52 | # Create bindir to fix parallel installation issues |
| 53 | mkdir -p ${D}/${bindir} |
| 54 | mkdir -p ${D}/${datadir} |
| 55 | } |