blob: e35f44726a3373e38a1c221b30aa44ad22dab3d2 (
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
25
26
27
28
29
30
31
32
|
#!/bin/sh
# Build zipfiles for Pango on Win32: separate runtime and developer packages
ZIP=/tmp/pango-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@-`date +%Y%m%d`.zip
DEVZIP=/tmp/pango-dev-@PANGO_MAJOR_VERSION@.@PANGO_MINOR_VERSION@-`date +%Y%m%d`.zip
cd @prefix@
rm $ZIP
zip -r $ZIP -@ <<EOF
bin/pango-querymodules.exe
etc/pango
lib/libpango-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
lib/libpangoft2-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
lib/libpangowin32-@PANGO_MAJOR_VERSION@-@PANGO_MINOR_VERSION@.dll
EOF
zip $ZIP lib/pango/modules/*.dll
rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/pango-1.0
lib/libpango.dll.a
lib/pango.lib
lib/libpangoft2.dll.a
lib/pangoft2.lib
lib/libpangowin32.dll.a
lib/pangowin32.lib
lib/pkgconfig/pango.pc
lib/pkgconfig/pangowin32.pc
lib/pkgconfig/pangoft2.pc
EOF
|