generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
10
package/axel/Config.in
Normal file
10
package/axel/Config.in
Normal file
@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_AXEL
|
||||
bool "axel"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
HTTP/FTP download accelerator.
|
||||
|
||||
https://github.com/axel-download-accelerator/axel/
|
||||
|
||||
comment "axel needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
2
package/axel/axel.hash
Normal file
2
package/axel/axel.hash
Normal file
@ -0,0 +1,2 @@
|
||||
sha256 580b2c18692482fd7f1e2b2819159484311ffc50f6d18924dceb80fd41d4ccf9 axel-2.17.11.tar.xz
|
||||
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING
|
||||
28
package/axel/axel.mk
Normal file
28
package/axel/axel.mk
Normal file
@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# axel
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AXEL_VERSION = 2.17.11
|
||||
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_FILES = COPYING
|
||||
AXEL_CPE_ID_VENDOR = axel_project
|
||||
AXEL_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
# 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)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
AXEL_CONF_OPTS += --with-ssl
|
||||
AXEL_DEPENDENCIES += openssl
|
||||
else
|
||||
AXEL_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user