-
Notifications
You must be signed in to change notification settings - Fork 3
/
Install.cmd
38 lines (30 loc) · 1.92 KB
/
Install.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
echo install.cmd
cd \
echo Downloading %httpd_dist%
appveyor DownloadFile %httpd_dist%
echo extracting httpd to \Apache24
7z x -y %httpd_zip%
dir \Apache24\httpd.h /s
if not exist \downloads md \downloads
cd \downloads
if "%platform%"=="x64" C:\OpenSSL-v111-Win64\bin\openssl version
if "%platform%"=="x86" C:\OpenSSL-v111-Win32\bin\openssl version
echo Downloading %sqlite_dist%
if not exist sqlite-amalgamation-%sqlite_version%.zip appveyor DownloadFile %sqlite_dist%
7z x -y "sqlite-amalgamation-%sqlite_version%.zip"
if not exist expat-%expat_version%\lib\expat.h echo Downloading https://github.com/libexpat/libexpat/releases/download/%expat_release%/expat-%expat_version%.tar.gz
if not exist expat-%expat_version%\lib\expat.h appveyor DownloadFile https://github.com/libexpat/libexpat/releases/download/%expat_release%/expat-%expat_version%.tar.gz
if not exist expat-%expat_version%\lib\expat.h 7z x -y expat-%expat_version%.tar.gz
if not exist expat-%expat_version%\lib\expat.h 7z x -y expat-%expat_version%.tar
copy expat-%expat_version%\lib\*.h \Apache24\include /y
if not exist subversion-%svn_version%\gen-make.py echo Downloading https://downloads.apache.org/subversion/subversion-%svn_version%.tar.gz
if not exist subversion-%svn_version%\gen-make.py appveyor DownloadFile https://downloads.apache.org/subversion/subversion-%svn_version%.tar.gz
if not exist subversion-%svn_version%\gen-make.py 7z x -y subversion-%svn_version%.tar.gz
if not exist subversion-%svn_version%\gen-make.py 7z x -y subversion-%svn_version%.tar
if not exist serf-1.3.9.zip appveyor DownloadFile https://www.apache.org/dist/serf/serf-1.3.9.zip
if exist serf-1.3.9.zip 7z x -y serf-1.3.9.zip
dir \downloads
if exist \downloads\zlib-%zlib_version% dir \downloads\zlib-%zlib_version%
dir \downloads\subversion-%svn_version%
if exist \downloads\subversion-%svn_version%\Release dir \downloads\subversion-%svn_version%\Release