-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/bash | ||
|
||
tmpdir="tmp" | ||
mkdir -p $tmpdir | ||
|
||
cd binaries | ||
/bin/find * | { | ||
while read line; do | ||
if [ -d $line ]; then | ||
mkdir ../$tmpdir/$line | ||
else | ||
ext=${line#*.} | ||
if [ "$ext" != "exp" ]; then | ||
cp $line ../$tmpdir/$line | ||
fi | ||
fi | ||
done | ||
} | ||
|
||
cd .. | ||
|
||
cat > $tmpdir/readme.txt <<EOF | ||
This archive contains prebuilt zlib library of version 1.2.11 compiled with optimized version of deflate. | ||
For more details please visit https://github.com/gildor2/fast_zlib | ||
Directory names combined from <platform>-<calling convention>. Platform is either win32 or win64, calling | ||
convention is cdecl or winapi. | ||
Each directory contains a static library and DLL. Static library file always has name "zlibstat.lib". | ||
For "cdecl", DLL name is zlib1.dll, and it is built with standard C calling convention. This is matches | ||
standard build of zlib for Windows platform. | ||
For "winapi", calling conventions is stdcall, and DLL name is "zlibwapi.dll". This matches behavior from | ||
zlib/contrib/vstudio (by Gilles Vollant). These versions of library, in addition to "cdecl" version, | ||
contains minizip library. To use winapi DLL you should add define ZLIB_WINAPI before including zlib.h. | ||
Konstantin Nosov | ||
https://github.com/gildor2/fast_zlib | ||
http://www.gildor.org | ||
EOF |