88de5d0822
For details see [1]. [1] https://lists.gnu.org/archive/html/info-gnu/2022-03/msg00000.html Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
36 lines
939 B
Makefile
36 lines
939 B
Makefile
################################################################################
|
|
#
|
|
# mtools
|
|
#
|
|
################################################################################
|
|
|
|
MTOOLS_VERSION = 4.0.38
|
|
MTOOLS_SOURCE = mtools-$(MTOOLS_VERSION).tar.lz
|
|
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))
|