mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
axel: bump to version 2.16
- Change upstream URL. - Add optional dependency on libressl/openssl. - Switch to autotools-package. Signed-off-by: Ismael Luceno <ismael@iodev.co.uk> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c33c9ca62a
commit
921014df87
@ -4,7 +4,7 @@ config BR2_PACKAGE_AXEL
|
|||||||
help
|
help
|
||||||
HTTP/FTP download accelerator.
|
HTTP/FTP download accelerator.
|
||||||
|
|
||||||
http://axel.alioth.debian.org/
|
https://github.com/axel-download-accelerator/axel/
|
||||||
|
|
||||||
comment "axel needs a toolchain w/ threads"
|
comment "axel needs a toolchain w/ threads"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
@ -1,2 +1 @@
|
|||||||
# Locally calculated
|
sha256 bd65f8d8add34ab61ce1fb9e1c7b1c3449b1cfd981ce48aeee218e755ba0d6fb axel-2.16.tar.xz
|
||||||
sha256 359a57ab4e354bcb6075430d977c59d33eb3e2f1415a811948fa8ae657ca8036 axel-2.4.tar.gz
|
|
||||||
|
@ -4,33 +4,27 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
AXEL_VERSION = 2.4
|
AXEL_VERSION = 2.16
|
||||||
AXEL_SITE = http://sources.buildroot.net
|
AXEL_SITE = https://github.com/axel-download-accelerator/axel/releases/download/v$(AXEL_VERSION)
|
||||||
|
AXEL_SOURCE = axel-$(AXEL_VERSION).tar.xz
|
||||||
AXEL_LICENSE = GPL-2.0+
|
AXEL_LICENSE = GPL-2.0+
|
||||||
AXEL_LICENSE_FILES = COPYING
|
AXEL_LICENSE_FILES = COPYING
|
||||||
AXEL_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
AXEL_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
||||||
AXEL_LDFLAGS = -lpthread $(TARGET_NLS_LIBS)
|
|
||||||
|
|
||||||
ifeq ($(BR2_SYSTEM_ENABLE_NLS),)
|
# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
|
||||||
AXEL_DISABLE_I18N = --i18n=0
|
# provided by autoconf relies on wchar_t.
|
||||||
|
AXEL_CONF_OPTS = \
|
||||||
|
ac_cv_prog_cc_c99=-std=c99 \
|
||||||
|
CFLAGS="$(TARGET_CFLAGS)"
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBRESSL),y)
|
||||||
|
AXEL_CONF_OPTS += --with-ssl
|
||||||
|
AXEL_DEPENDENCIES += libressl
|
||||||
|
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
|
AXEL_CONF_OPTS += --with-ssl
|
||||||
|
AXEL_DEPENDENCIES += openssl
|
||||||
|
else
|
||||||
|
AXEL_CONF_OPTS += --without-ssl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define AXEL_CONFIGURE_CMDS
|
$(eval $(autotools-package))
|
||||||
(cd $(@D); \
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--debug=1 \
|
|
||||||
$(AXEL_DISABLE_I18N) \
|
|
||||||
)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define AXEL_BUILD_CMDS
|
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
|
||||||
LFLAGS="$(TARGET_LDFLAGS) $(AXEL_LDFLAGS)" -C $(@D)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define AXEL_INSTALL_TARGET_CMDS
|
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(generic-package))
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user