Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [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 = "GPLv3" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 7 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 8 | DEPENDS += "virtual/libiconv" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 10 | RDEPENDS_${PN}_libc-glibc = "glibc-gconv-ibm850" |
| 11 | RRECOMMENDS_${PN}_libc-glibc = "\ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | " |
| 27 | SRC_URI[md5sum] = "a23646617546bf6ad56f061d8b283c85" |
| 28 | SRC_URI[sha256sum] = "59e9cf80885399c4f229e5d87e49c0c2bfeec044e1386d59fcd0b0aead6b2f85" |
| 29 | |
| 30 | SRC_URI = "${GNU_MIRROR}/mtools/mtools-${PV}.tar.bz2 \ |
| 31 | file://mtools-makeinfo.patch \ |
| 32 | file://no-x11.gplv3.patch" |
| 33 | |
| 34 | |
| 35 | inherit autotools texinfo |
| 36 | |
| 37 | EXTRA_OECONF = "--without-x" |
| 38 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame^] | 39 | LDFLAGS_append_libc-uclibc = " -liconv " |
| 40 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 41 | BBCLASSEXTEND = "native nativesdk" |
| 42 | |
| 43 | PACKAGECONFIG ??= "" |
| 44 | PACKAGECONFIG[libbsd] = "ac_cv_lib_bsd_main=yes,ac_cv_lib_bsd_main=no,libbsd" |
| 45 | |
| 46 | do_install_prepend () { |
| 47 | # Create bindir to fix parallel installation issues |
| 48 | mkdir -p ${D}/${bindir} |
| 49 | mkdir -p ${D}/${datadir} |
| 50 | } |