-
Notifications
You must be signed in to change notification settings - Fork 4
/
pango-zip.sh.in
executable file
·51 lines (42 loc) · 1.51 KB
/
pango-zip.sh.in
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/sh
# Build zipfiles for Pango on Win32: separate runtime and developer packages
ZIP=/tmp/pango-@[email protected]
DEVZIP=/tmp/pango-dev-@[email protected]
cd @prefix@
mkdir -p share/doc/pango-@PANGO_VERSION@
cp -p @abs_srcdir@/COPYING share/doc/pango-@PANGO_VERSION@
mkdir -p share/doc/pango-dev-@PANGO_VERSION@
cp -p @abs_srcdir@/COPYING share/doc/pango-dev-@PANGO_VERSION@
rm $ZIP
zip $ZIP -@ <<EOF
bin/pango-querymodules.exe
etc/pango/pango.modules
bin/libpango-@PANGO_API_VERSION@-@[email protected]
bin/libpangoft2-@PANGO_API_VERSION@-@[email protected]
bin/libpangowin32-@PANGO_API_VERSION@-@[email protected]
bin/libpangocairo-@PANGO_API_VERSION@-@[email protected]
EOF
zip $ZIP lib/pango/@PANGO_MODULE_VERSION@/modules/*.dll
zip -r $ZIP share/doc/pango-@PANGO_VERSION@
rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/pango-1.0
lib/libpango-@[email protected]
lib/pango-@[email protected]
lib/pango-@[email protected]
lib/libpangoft2-@[email protected]
lib/pangoft2-@[email protected]
lib/pangoft2-@[email protected]
lib/libpangowin32-@[email protected]
lib/pangowin32-@[email protected]
lib/pangowin32-@[email protected]
lib/libpangocairo-@[email protected]
lib/pangocairo-@[email protected]
lib/pangocairo-@[email protected]
lib/pkgconfig/pango.pc
lib/pkgconfig/pangoft2.pc
lib/pkgconfig/pangowin32.pc
lib/pkgconfig/pangocairo.pc
share/gtk-doc/html/pango
EOF
zip -r $DEVZIP share/doc/pango-dev-@PANGO_VERSION@