blob: 7dfd048d8bdd3bc2126fc74a047f6a777b2741d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
|