-
Notifications
You must be signed in to change notification settings - Fork 8
/
buildout-build-windows.cfg
253 lines (221 loc) · 8.96 KB
/
buildout-build-windows.cfg
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
[buildout]
extends = buildout-build.cfg
parts = mkdir zlib db openssl libiconv-no-nls-static bzip2 gettext-static libiconv-static tcl tcl-win tk tk-win sqlite3 sqlite3-win libxml2 libxml2-win libxslt libxslt-win libevent python python-win
[environment-windows]
APPVER = 5.02
CPU = i386
TARGETOS = WINNT
FrameworkVersion = v2.0.50727
OS = Windows_NT
RegKeyPath = HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\SxS\VC7
VSRegKeyPath = HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\SxS\VS7
SystemDrive = C:
WinDir = ${:SystemDrive}\WINDOWS
ProgramFiles = ${:SystemDrive}\Program Files
ORIGINALPATH = ${:WinDir}\system32;${:WinDir};${:WinDir}\System32\Wbem;${:ProgramFiles}\Git\cmd;${:ProgramFiles}\Git\bin;C:\Python27
FrameworkDir = ${:WinDir}\Microsoft.NET\Framework
FxTools = ${:FrameworkDir}\v3.5;${:FrameworkDir}\${:FrameworkVersion}
WindowsSdkDir = ${:ProgramFiles}\Microsoft SDKs\Windows\v7.0
VSINSTALLDIR = ${:ProgramFiles}\Microsoft Visual Studio 9.0
VCRoot = ${:VSINSTALLDIR}\VC
VCINSTALLDIR = ${:VCRoot}
VC90CRT = ${:VCRoot}\redist\x86\Microsoft.VC90.CRT
INCLUDE = ${:VCRoot}\Include;${:WindowsSdkDir}\Include;${:WindowsSdkDir}\Include\gl;${:VCRoot}\ATLMFC\INCLUDE;
MSSdk = ${:WindowsSdkDir}
NODEBUG = 1
SdkSetupDir = ${:WindowsSdkDir}\Setup
SdkTools = ${:WindowsSdkDir}\Bin
DevEnvDir = ${:VSINSTALLDIR}\Common7\IDE
INCLUDE = ${:VCRoot}\ATLMFC\INCLUDE;${:VCRoot}\INCLUDE;${:WindowsSdkDir}\include;${:PREFIX}\include
ATLMFC_LIB = ${:VCRoot}\ATLMFC\LIB
VSLIB = ${:VCRoot}\LIB
SDKLIB = ${:WindowsSdkDir}\lib
SDKBIN = ${:WindowsSdkDir}\bin
LIB = ${:ATLMFC_LIB};${:VSLIB};${:SDKLIB};${:PREFIX}\lib
LIBPATH = ${:FrameworkDir};${:FrameworkDir}\${:FrameworkVersion};${:ATLMFC_LIB};${:VSLIB}
Recipe = hexagonit.recipe.cmmi
VSBIN = ${:VCRoot}\BIN
PosixHomeDir=${:SystemDrive}\Cygwin\home\Administrator
GitDir = ${:PosixHomeDir}\git
GitBinDir = ${:GitDir}\bin
CygwinBinDir = ${:SystemDrive}\Cygwin\bin
PythonDir = ${:PosixHomeDir}\python
PythonBinDir = ${:PythonDir}\bin
PATH = ${:DevEnvDir};${:VSBIN};${:VSINSTALLDIR}\Common7\Tools;${:VSINSTALLDIR}\Common7\Tools\bin;${:FrameworkDir};${:FrameworkDir}\Microsoft .NET Framework 3.5 (Pre-Release Version);${:FrameworkDir}\${:FrameworkVersion};${:VCRoot}\VCPackages;${:SDKBIN};${:WinDir}\system32;${:WinDir};${:WinDir}\System32\Wbem;${:GitDir}\cmd;${:GitBinDir};${:PythonBinDir};${:CygwinBinDir}
PREFIX = ${options:prefix}
IIPREFIX = ${options:prefix}
PerlExe = ${:SystemDrive}\Perl\bin\perl.exe
MSVCDIR = ${:VSINSTALLDIR}
[environment_dup]
LIB = ${:VCRoot}\Lib;${:WindowsSdkDir}\Lib;${:VCRoot}\ATLMFC\LIB;
Path = ${:VCRoot}\Bin;${:VCRoot}\vcpackages;${:VSINSTALLDIR}\Common7\IDE;${:WindowsSdkDir}\Bin;${:WinDir}\Microsoft.NET\Framework\v3.5;${:WinDir}\Microsoft.NET\Framework\${:FrameworkVersion};${:WindowsSdkDir}\Setup;${:WinDir}\system32;${:WinDir};${:WinDir}\System32\Wbem;${:ProgramFiles}\Git\cmd;${:ProgramFiles}\Git\bin;C:\Python27
[options]
configure-command = true
configure-options =
make-binary = nmake
make-options = -f win32/Makefile.msc
environment-section = environment-windows
prefix = ${buildout:directory}\dist
hooks-dir = ${buildout:directory}\src\hooks
[mkdir]
recipe = z3c.recipe.mkdir
paths = dist
dist/bin
dist/lib
dist/include
[zlib]
name = zlib
version = 1.2.8
url = ${urls:source}/${:name}-${:version}.tar.gz
patches = ${:patches-dir}/${:name}-${:version}-windows-Makefile.patch
[openssl]
configure-command = ${environment-windows:PerlExe}
configure-options = Configure VC-WIN32 enable-zlib enable-static-engine enable-zlib-dynamic enable-capieng no-asm no-shared --prefix=${options:prefix}
make-targets = install
make-options = -f ms\nt.mak
pre-make-hook = ${options:hooks-dir}\windows.py:openssl_pre_make
name = openssl
patches = ${:patches-dir}/${:name}-${:version}-windows-batchfile.patch
[libiconv-no-nls]
<= options
gnu
recipe = hexagonit.recipe.cmmi
# last version that has a Makefile for MSVC
version = 1.11.1
make-options = -f Makefile.msvc NO_NLS=1 MFLAGS=-MT PREFIX=${options:prefix}
name = libiconv
patches = ${:patches-dir}/${:name}-${:version}-windows-Makefile.patch
[libiconv-no-nls-static]
<= options
gnu
recipe = hexagonit.recipe.cmmi
# last version that has a Makefile for MSVC
version = 1.9.1
make-options = -f Makefile.msvc NO_NLS=1 MFLAGS=-MT PREFIX=${options:prefix}
name = libiconv
[bzip2]
configure-command = true
make-options = -f makefile.msc PREFIX=${options:prefix}
name = bzip2
patches = ${:patches-dir}/${:name}-${:version}-windows-Makefile.patch
[gettext]
# last version that has a Makefile for MSVC
version = 0.14.6
make-options = -f Makefile.msvc MFLAGS=-MT PREFIX=${options:prefix}
patches = ${:patches-dir}/${:name}-${:version}-windows-localename.patch
[gettext-static]
<= options
gnu
recipe = hexagonit.recipe.cmmi
version = 0.12.1
name = gettext
make-options = -f Makefile.msvc MFLAGS=-MT PREFIX=${options:prefix}
[libiconv]
# last version that has a Makefile for MSVC
version = 1.11.1
make-options = -f Makefile.msvc MFLAGS=-MT PREFIX=${options:prefix}
patches = ${:patches-dir}/${:name}-${:version}-windows-Makefile.patch
[libiconv-static]
<= options
gnu
recipe = hexagonit.recipe.cmmi
version = 1.9.1
name = libiconv
make-options = -f Makefile.msvc MFLAGS=-MT PREFIX=${options:prefix}
[tcl]
<= options
recipe = hexagonit.recipe.cmmi
name = tcl
version = 8.5.15
url = ${urls:source}/${:name}${:version}-src.tar.gz
configure-command = true
make-binary = true
[tcl-win]
<= options
recipe = hexagonit.recipe.cmmi
path = ${buildout:directory}\parts\tcl__compile__\tcl8.5.15\win
make-binary = nmake
make-options = -f Makefile.vc all OPTS=static,threads INSTALLDIR=${options:prefix}
[tk]
<= options
recipe = hexagonit.recipe.cmmi
name = tk
version = 8.5.15
url = ${urls:source}/${:name}${:version}-src.tar.gz
configure-command = true
make-binary = true
[tk-win]
<= options
recipe = hexagonit.recipe.cmmi
path = ${buildout:directory}\parts\tk__compile__\tk8.5.15\win
make-binary = nmake
make-options = -f Makefile.vc all OPTS=static,threads INSTALLDIR=${options:prefix} TCLDIR=${buildout:directory}\parts\tcl__compile__\tcl8.5.15
[sqlite3]
make-binary = true
version = autoconf-3070602
patches = ${:patches-dir}/sqlite3-autoconf-3070602-windows-makefile.patch
[sqlite3-win]
<= options
recipe = hexagonit.recipe.cmmi
path = ${buildout:directory}\parts\sqlite3__compile__\sqlite-autoconf-3070602\tea\win
make-binary = nmake
make-options = -f Makefile.vc all install OPTS=static,threads INSTALLDIR=${options:prefix}
[db]
make-binary = devenv
make-options = build_windows\Berkeley_DB.sln /build "Release|Win32"
configure-command = true
patches = ${:patches-dir}/db-5.1.25-windows-solution.patch
post-make-hook = ${options:hooks-dir}\windows.py:db_post_make
[libxml2]
make-binary = true
patches = ${:patches-dir}/libxml2-${:version}-windows-Makefile.patch
[libxml2-win]
<= options
recipe = hexagonit.recipe.cmmi
path = ${buildout:directory}\parts\libxml2__compile__\libxml2-${libxml2:version}\win32
configure-command = cscript
configure-options = configure.js compiler=msvc cruntime=/MT prefix=${options:prefix} include=${options:prefix}\include lib=${options:prefix}\lib
make-options = -f Makefile.msvc
[libxslt]
make-binary = true
[libxslt-win]
<= options
recipe = hexagonit.recipe.cmmi
path = ${buildout:directory}\parts\libxslt__compile__\libxslt-${libxslt:version}\win32
configure-command = cscript
configure-options = configure.js compiler=msvc cruntime=/MT prefix=${options:prefix} include=${options:prefix}\include lib=${options:prefix}\lib
make-options = -f Makefile.msvc
[cyrus-sasl]
make-options = /f NTMakefile CFG=Release DB_INCLUDE=${options:prefix}\include DB_LIBPATH=${options:prefix}\lib OPENSSL_INCLUDE=${options:prefix}\include OPENSSL_LIBPATH=${options:prefix}\lib DB_LIB=libdb51.lib
patches = ${:patches-dir}/${:name}-${:version}-windows-Makefile.patch
${:patches-dir}/${:name}-${:version}-windows-plugins-Makefile.patch
${:patches-dir}/${:name}-${:version}-digestmd5.patch
${:patches-dir}/${:name}-${:version}-digestmd5.patch
[libevent]
version = 2.0.17
make-options = -f Makefile.nmake
make-targets = static_libs
post-make-hook = ${options:hooks-dir}\windows.py:libevent_post_make
[python]
make-binary = true
patches = ${:patches-dir}/${:name}-${:version}-windows-Makefile.patch
${:patches-dir}/${:name}-${:version}-sysconfig.py.patch
${:patches-dir}/${:name}-${:version}-disutils-sysconfig.py.patch
${:patches-dir}/${:name}-${:version}-pythonhome-pythonrun.c.patch
${:patches-dir}/${:name}-${:version}-windows-getpathp.patch
${:patches-dir}/${:name}-${:version}-windows-make_buildinfo.patch
${:patches-dir}/${:name}-${:version}-windows-make_versioninfo.patch
post-make-hook =
[python-win]
<= options
recipe = hexagonit.recipe.cmmi
path = ${buildout:directory}\parts\python__compile__\python-${python:version}\PCbuild
make-binary = devenv
make-options = pcbuild.sln /useenv /build "Release|Win32"
environment-section = python-win-environment
post-make-hook = ${options:hooks-dir}\windows.py:python_post_make
[python-win-environment]
<= environment-windows
bsddbDir = ${options:prefix}\..\parts\db__compile__\db-5.1.25\src\db
[libffi]
make-binary = true