2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-17 09:19:45 +01:00
|
|
|
#
|
|
|
|
# mtools
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-17 09:19:45 +01:00
|
|
|
|
2019-08-04 09:31:57 +02:00
|
|
|
MTOOLS_VERSION = 4.0.23
|
|
|
|
MTOOLS_SOURCE = mtools-$(MTOOLS_VERSION).tar.lz
|
2014-07-31 10:46:58 +02:00
|
|
|
MTOOLS_SITE = $(BR2_GNU_MIRROR)/mtools
|
2017-03-30 15:43:33 +02:00
|
|
|
MTOOLS_LICENSE = GPL-3.0+
|
2013-03-17 09:19:45 +01:00
|
|
|
MTOOLS_LICENSE_FILES = COPYING
|
2014-09-27 21:32:44 +02:00
|
|
|
MTOOLS_CONF_OPTS = --without-x
|
2016-05-31 21:57:15 +02:00
|
|
|
# info documentation not needed
|
|
|
|
MTOOLS_CONF_ENV = \
|
|
|
|
ac_cv_func_setpgrp_void=yes \
|
2017-11-28 17:06:51 +01:00
|
|
|
ac_cv_lib_bsd_gethostbyname=no \
|
|
|
|
ac_cv_lib_bsd_main=no \
|
2016-05-31 21:57:15 +02:00
|
|
|
ac_cv_path_INSTALL_INFO=
|
|
|
|
|
|
|
|
HOST_MTOOLS_CONF_ENV = \
|
2017-11-28 17:06:51 +01:00
|
|
|
ac_cv_lib_bsd_gethostbyname=no \
|
|
|
|
ac_cv_lib_bsd_main=no \
|
2016-05-31 21:57:15 +02:00
|
|
|
ac_cv_path_INSTALL_INFO=
|
2013-03-17 09:19:45 +01:00
|
|
|
|
2014-03-22 14:47:40 +01:00
|
|
|
# link with iconv if enabled
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
|
|
MTOOLS_DEPENDENCIES += libiconv
|
|
|
|
MTOOLS_CONF_ENV += LIBS=-liconv
|
|
|
|
endif
|
|
|
|
|
2016-07-03 00:21:33 +02:00
|
|
|
# Package does not build in parallel due to improper make rules
|
2014-03-24 20:29:45 +01:00
|
|
|
MTOOLS_MAKE = $(MAKE1)
|
|
|
|
|
2014-03-17 23:30:58 +01:00
|
|
|
$(eval $(autotools-package))
|
2013-03-17 09:19:45 +01:00
|
|
|
$(eval $(host-autotools-package))
|