summaryrefslogtreecommitdiffstats
path: root/libart-zip.in
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-@[email protected]
DEVZIP=/tmp/libart_lgpl-dev-@[email protected]
cd @prefix@

rm $ZIP

DLLDIR=lib
[ -f bin/libart_lgpl_2-@[email protected] ] && DLLDIR=bin

zip -r $ZIP -@ <<EOF
$DLLDIR/libart_lgpl_2-@[email protected]
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