Name | Date | Size | ||
---|---|---|---|---|
.. | 16-Jun-2014 | 17 | ||
cygwin/ | H | 16-Jun-2014 | 6 | |
Makefile | H A D | 03-Mar-2014 | 17.5 KiB | |
Makefile.am | H A D | 03-Mar-2014 | 38 | |
Makefile.in | H A D | 03-Mar-2014 | 17.1 KiB | |
README | H A D | 03-Mar-2014 | 2.3 KiB |
README
1Author: J�rn Hartroth 2 3DESCRIPTION 4 5(If you're only looking for precompiled win32 binaries, go visit 6http://curl.haxx.se/download.html) 7 8Packaging of the curl binaries for Win32 should at this point in time be based 9on the InfoZip (zip/unzip) archiver family as the de-facto standard for 10Windows archives. A package should contain the main binary curl.exe along with 11the appropriate documentation and license information files. For development 12releases, you should also include the header directory and probably the 13compiled binaries of libcurl and the appropriate Makefiles/project definition 14files for the compiler used. 15 16A simple packaging mechanism can be based on a set of batch files which call 17zip.exe with the appropriate files from the curl distribution - see the 18samples included below (Long lines have been split with "\" as the split 19marker, you'll want to rejoin the pieces to be all on one line in the batch 20file). Call any of these batch files - after compiling the curl binaries - 21with a single parameter specifying the name of the archive file to be created. 22 23It is implicitely assumed that all of the binary files (curl.exe, libcurl.a, 24etc) have previously been copied to the main directory of the curl source 25package (the directory where the main README resides), because that is where 26they should end up in the zip archive. The archive should *not* be built with 27absolute path information because the user will want to locally extract the 28archive contents and shift the binaries to his executable directory. 29 30SCRIPT_TEMPLATES 31 32curlpkg.bat: 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 35 36curldevpkg.bat: 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 40 41PROCEDURE_EXAMPLE 42 43A standard packaging routine (for MingW32) using the above batch files could 44go like this: 45(No SSL) (With SSL) 46cd <curl-sourcedir>\lib cd <curl-sourcedir>\lib 47make -f Makefile.m32 make -f Makefile.m32 SSL=1 48cd ..\src cd ..\src 49make -f Makefile.m32 make -f Makefile.m32 SSL=1 50cd .. cd .. 51copy lib\libcurl.a . copy lib\libcurl.a . 52copy src\curl.exe . copy src\curl.exe . 53curlpkg curl-win32-nossl.zip curlpkg curl-win32-ssl.zip 54