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
|
|
|
|
|
2014-03-19 11:49:00 +01:00
|
|
|
|
MTOOLS_VERSION = 4.0.18
|
|
|
|
|
MTOOLS_SOURCE = mtools-$(MTOOLS_VERSION).tar.bz2
|
|
|
|
|
MTOOLS_SITE = $(BR2_GNU_MIRROR)/mtools/
|
|
|
|
|
MTOOLS_LICENSE = GPLv3+
|
2013-03-17 09:19:45 +01:00
|
|
|
|
MTOOLS_LICENSE_FILES = COPYING
|
2014-03-19 11:49:00 +01:00
|
|
|
|
MTOOLS_CONF_ENV = ac_cv_func_setpgrp_void=yes
|
|
|
|
|
MTOOLS_CONF_OPT = --without-x
|
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
|
2014-03-24 20:29:45 +01:00
|
|
|
|
# We have no host dependencies
|
|
|
|
|
HOST_MTOOLS_DEPENDENCIES =
|
2014-03-22 14:47:40 +01:00
|
|
|
|
endif
|
|
|
|
|
|
2014-03-24 20:29:45 +01:00
|
|
|
|
# Package does not build in parallel due to improper make rules
|
|
|
|
|
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))
|