5 (If you're only looking for precompiled win32 binaries, go visit
6 http://curl.haxx.se/download.html)
8 Packaging of the curl binaries for Win32 should at this point in time be based
9 on the InfoZip (zip/unzip) archiver family as the de-facto standard for
10 Windows archives. A package should contain the main binary curl.exe along with
11 the appropriate documentation and license information files. For development
12 releases, you should also include the header directory and probably the
13 compiled binaries of libcurl and the appropriate Makefiles/project definition
14 files for the compiler used.
16 A simple packaging mechanism can be based on a set of batch files which call
17 zip.exe with the appropriate files from the curl distribution - see the
18 samples included below (Long lines have been split with "\" as the split
19 marker, you'll want to rejoin the pieces to be all on one line in the batch
20 file). Call any of these batch files - after compiling the curl binaries -
21 with a single parameter specifying the name of the archive file to be created.
23 It is implicitely assumed that all of the binary files (curl.exe, libcurl.a,
24 etc) have previously been copied to the main directory of the curl source
25 package (the directory where the main README resides), because that is where
26 they should end up in the zip archive. The archive should *not* be built with
27 absolute path information because the user will want to locally extract the
28 archive contents and shift the binaries to his executable directory.
33 zip -9 %1 curl.exe CHANGES LEGAL MPL-1.0.txt README \
34 docs/FAQ docs/FEATURES docs/README.curl docs/README.win32 docs/TODO
37 zip -9 %1 curl.exe include\README include\curl\*.h CHANGES docs\* \
38 curl.spec curl-ssl.spec LEGAL lib/Makefile.m32 src/Makefile.m32 \
39 libcurl.a libcurl.dll libcurldll.a MPL-1.0.txt README
43 A standard packaging routine (for MingW32) using the above batch files could
46 cd <curl-sourcedir>\lib cd <curl-sourcedir>\lib
47 make -f Makefile.m32 make -f Makefile.m32 SSL=1
49 make -f Makefile.m32 make -f Makefile.m32 SSL=1
51 copy lib\libcurl.a . copy lib\libcurl.a .
52 copy src\curl.exe . copy src\curl.exe .
53 curlpkg curl-win32-nossl.zip curlpkg curl-win32-ssl.zip