mirror of
https://github.com/aria2/aria2.git
synced 2024-12-29 14:14:53 +00:00
Add libssh2 to Dockerfile.mingw
This commit is contained in:
parent
65505be1be
commit
eb9dafc247
@ -29,6 +29,7 @@ RUN curl -L -O http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-
|
||||
RUN curl -L -O http://www.sqlite.org/2015/sqlite-autoconf-3080803.tar.gz
|
||||
RUN curl -L -O http://zlib.net/zlib-1.2.8.tar.xz
|
||||
RUN curl -L -O http://c-ares.haxx.se/download/c-ares-1.10.0.tar.gz
|
||||
RUN curl -L -O http://libssh2.org/download/libssh2-1.5.0.tar.gz
|
||||
|
||||
RUN tar xf gmp-6.0.0a.tar.lz
|
||||
RUN cd gmp-6.0.0 && \
|
||||
@ -88,6 +89,19 @@ RUN cd c-ares-1.10.0 && \
|
||||
LIBS="-lws2_32" && \
|
||||
make install
|
||||
|
||||
RUN tar xf libssh2-1.5.0.tar.gz
|
||||
RUN cd libssh2-1.5.0 && \
|
||||
./configure \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
--prefix=/usr/local/$HOST \
|
||||
--host=$HOST \
|
||||
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
|
||||
--without-openssl \
|
||||
--with-wincng \
|
||||
LIBS="-lws2_32" && \
|
||||
make install
|
||||
|
||||
RUN git clone https://github.com/tatsuhiro-t/aria2
|
||||
RUN cd aria2 && autoreconf -i && ./mingw-config && make && \
|
||||
$HOST-strip src/aria2c.exe
|
||||
|
Loading…
Reference in New Issue
Block a user