diff options
Diffstat (limited to 'src/3rdparty/libcroco/libcroco-zip.in')
-rwxr-xr-x | src/3rdparty/libcroco/libcroco-zip.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/3rdparty/libcroco/libcroco-zip.in b/src/3rdparty/libcroco/libcroco-zip.in new file mode 100755 index 0000000..5b6e2ee --- /dev/null +++ b/src/3rdparty/libcroco/libcroco-zip.in @@ -0,0 +1,25 @@ +#!/bin/sh + +# Build distribution zipfiles for libcroco on Win32: Runtime and +# developer. + +ZIP=/tmp/libcroco-@VERSION@.zip +DEVZIP=/tmp/libcroco-dev-@VERSION@.zip + +# The DLL name generated by libtool with the passed --version-info +DLLNAME=libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@-`expr @LIBCROCO_CURRENT@ - @LIBCROCO_AGE@`.dll + +cd @prefix@ +rm $ZIP + +zip $ZIP -@ <<EOF +bin/$DLLNAME +EOF + +rm $DEVZIP +zip -r $DEVZIP -@ <<EOF +bin/csslint-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@.exe +include/libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@ +lib/libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@.dll.a +lib/pkgconfig/libcroco-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@.pc +EOF |