Browse Source

Merge pull request #2804 from kuoruan/aria2

aria2: Add SFTP support choice
lilik-openwrt-22.03
Hannu Nyman 9 years ago
parent
commit
17784c9528
2 changed files with 10 additions and 4 deletions
  1. +5
    -1
      net/aria2/Config.in
  2. +5
    -3
      net/aria2/Makefile

+ 5
- 1
net/aria2/Config.in View File

@ -23,7 +23,11 @@ config ARIA2_BITTORRENT
config ARIA2_METALINK
bool "Enable metalink support"
default N
default n
config ARIA2_SFTP
bool "Enable sftp support"
default n
choice
prompt "XML library"


+ 5
- 3
net/aria2/Makefile View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=aria2
PKG_VERSION:=1.23.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://github.com/aria2/aria2/releases/download/release-$(PKG_VERSION)/
@ -25,6 +25,7 @@ PKG_CONFIG_DEPENDS := \
ARIA2_GNUTLS \
ARIA2_BITTORRENT \
ARIA2_METALINK \
ARIA2_SFTP \
ARIA2_EXPAT \
ARIA2_LIBXML2
@ -39,8 +40,8 @@ define Package/aria2
CATEGORY:=Network
SUBMENU:=File Transfer
TITLE:=lightweight download utility
URL:=http://aria2.sourceforge.net/
DEPENDS:=+zlib +ARIA2_LIBXML2:libxml2 +ARIA2_EXPAT:libexpat +libstdcpp +ARIA2_OPENSSL:libopenssl +ARIA2_GNUTLS:libgnutls
URL:=https://aria2.github.io/
DEPENDS:=+zlib +ARIA2_SFTP:libssh2 +ARIA2_LIBXML2:libxml2 +ARIA2_EXPAT:libexpat +libstdcpp +ARIA2_OPENSSL:libopenssl +ARIA2_GNUTLS:libgnutls
endef
define Package/aria2/description
@ -55,6 +56,7 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_ARIA2_GNUTLS),--with,--without)-gnutls \
$(if $(CONFIG_ARIA2_BITTORRENT),--enable,--disable)-bittorrent \
$(if $(CONFIG_ARIA2_METALINK),--enable,--disable)-metalink \
$(if $(CONFIG_ARIA2_SFTP),--with,--without)-libssh2 \
$(if $(CONFIG_ARIA2_LIBXML2),--with,--without)-libxml2 \
$(if $(CONFIG_ARIA2_EXPAT),--with,--without)-libexpat \
--without-libnettle \


Loading…
Cancel
Save