@ -15,21 +15,27 @@ PKG_SOURCE_URL:=https://github.com/aria2/aria2/releases/download/release-$(PKG_V
PKG_HASH := 546e9194a9135d665fce572cb93c88f30fb5601d113bfa19951107ced682dc50
PKG_INSTALL := 1
PKG_MAINTAINER := Imre Kaloz <kaloz@openwrt.org>, Hsing-Wang Liao <kuoruan@gmail.com>
PKG_MAINTAINER := Imre Kaloz <kaloz@openwrt.org>, \
Hsing-Wang Liao <kuoruan@gmail.com>
PKG_LICENSE := GPLv2
PKG_LICENSE_FILES := COPYING
PKG_CONFIG_DEPENDS := \
ARIA2_NOSSL \
ARIA2_OPENSSL \
ARIA2_GNUTLS \
ARIA2_BITTORRENT \
ARIA2_SFTP \
ARIA2_ASYNC_DNS \
ARIA2_COOKIE \
ARIA2_METALINK \
ARIA2_EXPAT \
ARIA2_LIBXML2
CONFIG_ARIA2_NOSSL \
CONFIG_ARIA2_OPENSSL \
CONFIG_ARIA2_GNUTLS \
CONFIG_ARIA2_NOCRYPTO \
CONFIG_ARIA2_NETTLE \
CONFIG_ARIA2_LIBGCRYPT \
CONFIG_ARIA2_LIBXML2 \
CONFIG_ARIA2_EXPAT \
CONFIG_ARIA2_GMP \
CONFIG_ARIA2_BITTORRENT \
CONFIG_ARIA2_METALINK \
CONFIG_ARIA2_SFTP \
CONFIG_ARIA2_ASYNC_DNS \
CONFIG_ARIA2_COOKIE \
CONFIG_ARIA2_WEBSOCKET
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -43,13 +49,16 @@ define Package/aria2
SUBMENU:= File Transfer
TITLE:= lightweight download utility
URL:= https://aria2.github.io/
DEPENDS:= +zlib +libstdcpp +ARIA2_SFTP:libssh2 +ARIA2_ASYNC_DNS:libcares +ARIA2_COOKIE:libsqlite3 +ARIA2_LIBXML2:libxml2 +ARIA2_EXPAT:libexpat +ARIA2_OPENSSL:libopenssl +ARIA2_GNUTLS:libgnutls
DEPENDS:= +zlib +libstdcpp +ARIA2_OPENSSL:libopenssl +ARIA2_GNUTLS:libgnutls \
+ARIA2_NETTLE:libnettle +ARIA2_LIBGCRYPT:libgcrypt +ARIA2_GMP:libgmp \
+ARIA2_LIBXML2:libxml2 +ARIA2_EXPAT:libexpat +ARIA2_SFTP:libssh2 \
+ARIA2_ASYNC_DNS:libcares +ARIA2_COOKIE:libsqlite3
USERID:= aria2 = 6800:aria2= 6800
e n d e f
d e f i n e P a c k a g e / a r i a 2 / d e s c r i p t i o n
aria2 is a lightweight multi-protocol & multi-source command-line download
utility
aria2 is a lightweight multi-protocol & multi-source command-line download
utility
e n d e f
CONFIGURE_ARGS += \
@ -57,16 +66,17 @@ CONFIGURE_ARGS += \
$( if $( CONFIG_ARIA2_NOSSL) ,--disable,--enable) -ssl \
$( if $( CONFIG_ARIA2_BITTORRENT) ,--enable,--disable) -bittorrent \
$( if $( CONFIG_ARIA2_METALINK) ,--enable,--disable) -metalink \
$( if $( CONFIG_ARIA2_WEBSOCKET) ,--enable,--disable) -websocket \
$( if $( CONFIG_ARIA2_OPENSSL) ,--with,--without) -openssl \
$( if $( CONFIG_ARIA2_GNUTLS) ,--with,--without) -gnutls \
$( if $( CONFIG_ARIA2_NETTLE) ,--with,--without) -libnettle \
$( if $( CONFIG_ARIA2_LIBGCRYPT) ,--with,--without) -libgcrypt \
$( if $( CONFIG_ARIA2_GMP) ,--with,--without) -libgmp \
$( if $( CONFIG_ARIA2_LIBXML2) ,--with,--without) -libxml2 \
$( if $( CONFIG_ARIA2_EXPAT) ,--with,--without) -libexpat \
$( if $( CONFIG_ARIA2_SFTP) ,--with,--without) -libssh2 \
$( if $( CONFIG_ARIA2_ASYNC_DNS) ,--with,--without) -libcares \
$( if $( CONFIG_ARIA2_COOKIE) ,--with,--without) -sqlite3 \
$( if $( CONFIG_ARIA2_LIBXML2) ,--with,--without) -libxml2 \
$( if $( CONFIG_ARIA2_EXPAT) ,--with,--without) -libexpat \
--without-libnettle \
--without-libgmp \
--without-libgcrypt \
--without-libuv \
--with-libz