aria2-static-builds/build-scripts/gnu-linux-config/aria2-x86_64-gnu-linux-config

35 lines
706 B
Plaintext
Raw Normal View History

#!/bin/bash
# In this configuration, the following dependent libraries are used:
#
# * zlib
# * c-ares
# * expat
# * sqlite3
# * openSSL
# * libssh2
#COMPILER AND PATH
PREFIX=/opt/aria2
C_COMPILER="gcc"
CXX_COMPILER="g++"
## BUILD ##
2015-10-17 16:56:58 +02:00
PKG_CONFIG_PATH=/opt/aria2/build_libs/lib/pkgconfig/ \
LD_LIBRARY_PATH=/opt/aria2/build_libs/lib/ \
CC="$C_COMPILER" \
CXX="$CXX_COMPILER" \
./configure \
--prefix=$PREFIX \
--without-libxml2 \
--without-libgcrypt \
--with-openssl \
--without-libnettle \
--without-gnutls \
--without-libgmp \
--with-libssh2 \
--with-sqlite3 \
--with-ca-bundle='/etc/ssl/certs/ca-certificates.crt' \
ARIA2_STATIC=yes \
--enable-shared=no