File: writerperfect-zip.in

package info (click to toggle)
writerperfect 0.8.1-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,968 kB
  • sloc: sh: 10,287; cpp: 4,281; makefile: 194
file content (42 lines) | stat: -rw-r--r-- 749 bytes parent folder | download
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
#!/bin/sh

# Build zipfiles for writerperfect binaries on Win32.

WPD2ODTZIP=wpd2odt-@WRITERPERFECT_VERSION@.zip
WPS2ODTZIP=wps2odt-@WRITERPERFECT_VERSION@.zip
WPG2ODGZIP=wpg2odg-@WRITERPERFECT_VERSION@.zip
VSD2ODGZIP=vsd2odg-@WRITERPERFECT_VERSION@.zip

cd $DESTDIR@prefix@

@STRIP@ --strip-all \
bin/wpd2odt.exe \
bin/wps2odt.exe \
bin/wpg2odg.exe \
bin/vsd2odg.exe

upx -qqq --best \
bin/wpd2odt.exe \
bin/wps2odt.exe \
bin/wpg2odg.exe \
bin/vsd2odg.exe

rm -f $WPD2ODTZIP
zip -q -r -j $WPD2ODTZIP -@ <<EOF
bin/wpd2odt.exe
EOF

rm -f $WPS2ODTZIP
zip -q -r -j $WPS2ODTZIP -@ <<EOF
bin/wps2odt.exe
EOF

rm -f $WPG2ODGZIP
zip -q -r -j $WPG2ODGZIP -@ <<EOF
bin/wpg2odg.exe
EOF

rm -f $VSD2ODGZIP
zip -q -r -j $VSD2ODGZIP -@ <<EOF
bin/vsd2odg.exe
EOF