comparison packaging/tmp-createpackage.sh.in @ 500:4f972b1f4996

Fix packaging information generation
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 25 Apr 2014 10:29:59 +0000
parents 7a8f5b85fd9a
children 70138fbced95
comparison
equal deleted inserted replaced
499:077b4342d69b 500:4f972b1f4996
8 #!/bin/bash 8 #!/bin/bash
9 9
10 #NSSDIR is hackish as this will be replaced by static compiling 10 #NSSDIR is hackish as this will be replaced by static compiling
11 # anyway 11 # anyway
12 12
13 NSSDIR="@NSS_INCLUDE_DIRS@/../bin/" 13 NSSDIR="@NSS_BASE_DIR@/bin/"
14 MYPATH=$(dirname `readlink -f $0`)
15 14
16 TMPDIR=$(mktemp -d) 15 TMPDIR=$(mktemp -d)
17 16
18 EXEFILES=$(find . -name cinst.exe -o -name trustbridge.exe -o -name mozilla.exe) 17 EXEFILES=$(find . -name cinst.exe -o -name trustbridge.exe -o -name mozilla.exe)
19 18
22 21
23 echo $TMPDIR 22 echo $TMPDIR
24 makensis -Dfiles_dir=$TMPDIR \ 23 makensis -Dfiles_dir=$TMPDIR \
25 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \ 24 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \
26 -Dversion_number=@PROJECT_VERSION@ \ 25 -Dversion_number=@PROJECT_VERSION@ \
27 -Dsetupname="TrustBridge-@PROJECT_VERSION@.exe" \ 26 -Dsetupname="@CMAKE_BINARY_DIR@/TrustBridge-@PROJECT_VERSION@.exe" \
28 -Dproductname="TrustBridge" \ 27 -Dproductname="TrustBridge" \
29 -Dproductname_short="TrustBridge" $MYPATH/trustbridge.nsi 28 -Dproductname_short="TrustBridge" @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi
30 rm -r $TMPDIR 29 rm -r $TMPDIR

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