www/aria2: Add STATIC option
PR: 254559 Requested by: Daniel Engberg <daniel.engberg.lists@pyret.net>
This commit is contained in:
parent
89fc580eae
commit
7e3acffb5e
2 changed files with 5 additions and 4 deletions
|
@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
USES= compiler:c++11-lib libtool pathfix pkgconfig ssl tar:xz
|
||||
|
||||
CONFIGURE_ARGS= --disable-epoll \
|
||||
--enable-bittorrent --enable-libaria2 --enable-metalink --enable-shared --enable-ssl --enable-static --enable-threads=posix --enable-websocket \
|
||||
--enable-bittorrent --enable-libaria2 --enable-metalink --enable-shared --enable-ssl --enable-threads=posix --enable-websocket \
|
||||
--with-disk-cache=${ARIA2_DISK_CACHE} \
|
||||
--with-libz --with-openssl \
|
||||
--without-appletls --without-gnutls --without-libgcrypt --without-libgmp --without-libnettle
|
||||
|
@ -32,10 +32,10 @@ PORTDOCS= *
|
|||
|
||||
ARIA2_DISK_CACHE?= 16M
|
||||
|
||||
OPTIONS_DEFINE= CA_BUNDLE CARES DOCS LIBUV NLS SQLITE SSH2
|
||||
OPTIONS_DEFINE= CA_BUNDLE CARES DOCS LIBUV NLS SQLITE SSH2 STATIC
|
||||
OPTIONS_SINGLE= XML
|
||||
OPTIONS_SINGLE_XML= EXPAT LIBXML2
|
||||
OPTIONS_DEFAULT=CA_BUNDLE LIBXML2 SQLITE
|
||||
OPTIONS_DEFAULT=CA_BUNDLE LIBXML2 SQLITE STATIC
|
||||
OPTIONS_SUB= yes
|
||||
CA_BUNDLE_DESC= Use CA bundle from Mozilla Project
|
||||
LIBUV_DESC= Event polling via libuv
|
||||
|
@ -61,6 +61,7 @@ SQLITE_CONFIGURE_WITH= sqlite3
|
|||
SQLITE_USES= sqlite
|
||||
SSH2_CONFIGURE_WITH= libssh2
|
||||
SSH2_LIB_DEPENDS= libssh2.so:security/libssh2
|
||||
STATIC_CONFIGURE_ENABLE=static
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
bin/aria2c
|
||||
etc/bash_completion.d/aria2c
|
||||
include/aria2/aria2.h
|
||||
lib/libaria2.a
|
||||
%%STATIC%%lib/libaria2.a
|
||||
lib/libaria2.so
|
||||
lib/libaria2.so.0
|
||||
lib/libaria2.so.0.0.0
|
||||
|
|
Loading…
Reference in a new issue