summaryrefslogtreecommitdiffstats
path: root/libart-zip.in
diff options
context:
space:
mode:
Diffstat (limited to 'libart-zip.in')
-rwxr-xr-xlibart-zip.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/libart-zip.in b/libart-zip.in
new file mode 100755
index 0000000..7dfd048
--- /dev/null
+++ b/libart-zip.in
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# Build zipfiles for libart_lgpl on Win32, runtime and developer.
+
+ZIP=/tmp/libart_lgpl-@LIBART_VERSION@.zip
+DEVZIP=/tmp/libart_lgpl-dev-@LIBART_VERSION@.zip
+cd @prefix@
+
+rm $ZIP
+
+DLLDIR=lib
+[ -f bin/libart_lgpl_2-@LIBART_MAJOR_VERSION@.dll ] && DLLDIR=bin
+
+zip -r $ZIP -@ <<EOF
+$DLLDIR/libart_lgpl_2-@LIBART_MAJOR_VERSION@.dll
+EOF
+
+rm $DEVZIP
+zip -r $DEVZIP -@ <<EOF
+include/libart-2.0
+lib/libart_lgpl_2.dll.a
+lib/art_lgpl_2.lib
+lib/pkgconfig/libart-2.0.pc
+EOF