Add buildroot 2018-02
This commit is contained in:
15
buildroot/package/mtools/Config.in
Normal file
15
buildroot/package/mtools/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_MTOOLS
|
||||
bool "mtools"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
Mtools is a collection of utilities to access MS-DOS disks
|
||||
from Unix without mounting them. It supports Win'95 style
|
||||
long file names, OS/2 Xdf disks and 2m disks (store up to
|
||||
1992k on a high density 3 1/2 disk).
|
||||
|
||||
http://www.gnu.org/software/mtools/
|
||||
|
||||
comment "mtools needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU
|
||||
9
buildroot/package/mtools/Config.in.host
Normal file
9
buildroot/package/mtools/Config.in.host
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_HOST_MTOOLS
|
||||
bool "host mtools"
|
||||
help
|
||||
Mtools is a collection of utilities to access MS-DOS disks
|
||||
from Unix without mounting them. It supports Win'95 style long
|
||||
file names, OS/2 Xdf disks and 2m disks (store up to 1992k on
|
||||
a high density 3 1/2 disk).
|
||||
|
||||
http://www.gnu.org/software/mtools/
|
||||
2
buildroot/package/mtools/mtools.hash
Normal file
2
buildroot/package/mtools/mtools.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 59e9cf80885399c4f229e5d87e49c0c2bfeec044e1386d59fcd0b0aead6b2f85 mtools-4.0.18.tar.bz2
|
||||
35
buildroot/package/mtools/mtools.mk
Normal file
35
buildroot/package/mtools/mtools.mk
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# mtools
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MTOOLS_VERSION = 4.0.18
|
||||
MTOOLS_SOURCE = mtools-$(MTOOLS_VERSION).tar.bz2
|
||||
MTOOLS_SITE = $(BR2_GNU_MIRROR)/mtools
|
||||
MTOOLS_LICENSE = GPL-3.0+
|
||||
MTOOLS_LICENSE_FILES = COPYING
|
||||
MTOOLS_CONF_OPTS = --without-x
|
||||
# info documentation not needed
|
||||
MTOOLS_CONF_ENV = \
|
||||
ac_cv_func_setpgrp_void=yes \
|
||||
ac_cv_lib_bsd_gethostbyname=no \
|
||||
ac_cv_lib_bsd_main=no \
|
||||
ac_cv_path_INSTALL_INFO=
|
||||
|
||||
HOST_MTOOLS_CONF_ENV = \
|
||||
ac_cv_lib_bsd_gethostbyname=no \
|
||||
ac_cv_lib_bsd_main=no \
|
||||
ac_cv_path_INSTALL_INFO=
|
||||
|
||||
# link with iconv if enabled
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
MTOOLS_DEPENDENCIES += libiconv
|
||||
MTOOLS_CONF_ENV += LIBS=-liconv
|
||||
endif
|
||||
|
||||
# Package does not build in parallel due to improper make rules
|
||||
MTOOLS_MAKE = $(MAKE1)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user