comparison packaging/create-dist-package.sh.in @ 834:8081ed84589d

Use static nss from subrepository on windows
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 28 Jul 2014 13:03:45 +0200
parents 747a48996c1f
children ecc6aa433253 637948e9e32d
comparison
equal deleted inserted replaced
833:e1bb60a8129b 834:8081ed84589d
1 #!/bin/bash 1 #!/bin/bash
2 # Helper script to package the files expected by the -admin application 2 # Helper script to package the files expected by the -admin application
3 # Windows build is expected to live in CMAKE_SOURCE_DIR/build-windows 3 # Windows build is expected to live in CMAKE_SOURCE_DIR/build-windows
4 set -x 4 set -x
5 set -e 5 set -e
6
7 if [ ! -d "$WINDOWS_NSSDIR" ]; then
8 echo "ERROR: Please set WINDOWS_NSSDIR to the location of your nss binaries"
9 exit 1
10 fi
11 6
12 if [ ! -x `which wine` ]; then 7 if [ ! -x `which wine` ]; then
13 echo "ERROR: Could not find wine." 8 echo "ERROR: Could not find wine."
14 exit 1 9 exit 1
15 fi 10 fi
34 echo "productname=TrustBridge" >> $TMPDIR/meta.ini 29 echo "productname=TrustBridge" >> $TMPDIR/meta.ini
35 echo "info_url=https://wald.intevation.org/projects/trustbridge/" >> $TMPDIR/meta.ini 30 echo "info_url=https://wald.intevation.org/projects/trustbridge/" >> $TMPDIR/meta.ini
36 echo "productname_short=TrustBridge" >> $TMPDIR/meta.ini 31 echo "productname_short=TrustBridge" >> $TMPDIR/meta.ini
37 echo "description=TrustBridge" >> $TMPDIR/meta.ini 32 echo "description=TrustBridge" >> $TMPDIR/meta.ini
38 echo "size=$EST_SIZE" >> $TMPDIR/meta.ini 33 echo "size=$EST_SIZE" >> $TMPDIR/meta.ini
39 cp $WINDOWS_NSSDIR/*.dll $TMPDIR/windows
40 34
41 # Create a temporary NSIS file for the uninstaller cration 35 # Create a temporary NSIS file for the uninstaller cration
42 LC_ALL="de_DE.latin-1" makensis -Dfiles_dir=$TMPDIR/windows \ 36 LC_ALL="de_DE.latin-1" makensis -Dfiles_dir=$TMPDIR/windows \
43 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \ 37 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \
44 -Dversion_number=@PROJECT_VERSION@ \ 38 -Dversion_number=@PROJECT_VERSION@ \

http://wald.intevation.org/projects/trustbridge/