2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-04-17 06:52:57 +02:00
|
|
|
#
|
|
|
|
# axel
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2020-11-22 21:51:53 +01:00
|
|
|
AXEL_VERSION = 2.17.10
|
2017-11-25 05:44:47 +01:00
|
|
|
AXEL_SITE = https://github.com/axel-download-accelerator/axel/releases/download/v$(AXEL_VERSION)
|
|
|
|
AXEL_SOURCE = axel-$(AXEL_VERSION).tar.xz
|
2017-03-30 15:43:32 +02:00
|
|
|
AXEL_LICENSE = GPL-2.0+
|
2013-01-20 10:22:30 +01:00
|
|
|
AXEL_LICENSE_FILES = COPYING
|
2021-03-05 23:27:44 +01:00
|
|
|
AXEL_CPE_ID_VENDOR = axel_project
|
2017-12-05 06:42:37 +01:00
|
|
|
AXEL_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
2008-04-17 06:52:57 +02:00
|
|
|
|
2017-11-25 05:44:47 +01:00
|
|
|
# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
|
|
|
|
# provided by autoconf relies on wchar_t.
|
|
|
|
AXEL_CONF_OPTS = \
|
|
|
|
ac_cv_prog_cc_c99=-std=c99 \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS)"
|
2008-04-17 06:52:57 +02:00
|
|
|
|
2017-12-05 06:42:36 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
2017-11-25 05:44:47 +01:00
|
|
|
AXEL_CONF_OPTS += --with-ssl
|
|
|
|
AXEL_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
AXEL_CONF_OPTS += --without-ssl
|
|
|
|
endif
|
2010-09-26 09:13:53 +02:00
|
|
|
|
2017-11-25 05:44:47 +01:00
|
|
|
$(eval $(autotools-package))
|