comparison packaging/create-dist-package.sh.in @ 794:fdc15f0cfdd8

(issue61) NSIS Write uninstall information and make URL configurable.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 15 Jul 2014 12:03:45 +0200
parents 438d7c88104f
children eef8e0ca82b9
comparison
equal deleted inserted replaced
793:6bb769d3cdc1 794:fdc15f0cfdd8
21 cp @CMAKE_SOURCE_DIR@/build-windows/cinst/mozilla.exe $TMPDIR/windows 21 cp @CMAKE_SOURCE_DIR@/build-windows/cinst/mozilla.exe $TMPDIR/windows
22 cp @CMAKE_SOURCE_DIR@/packaging/filelist.nsh $TMPDIR 22 cp @CMAKE_SOURCE_DIR@/packaging/filelist.nsh $TMPDIR
23 cp @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi $TMPDIR 23 cp @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi $TMPDIR
24 cp -r @CMAKE_SOURCE_DIR@/packaging/resources $TMPDIR/resources 24 cp -r @CMAKE_SOURCE_DIR@/packaging/resources $TMPDIR/resources
25 LC_ALL="de_DE.latin-1" echo "company=Bundesamt für Sicherheit in der Informationstechnik" > $TMPDIR/meta.ini 25 LC_ALL="de_DE.latin-1" echo "company=Bundesamt für Sicherheit in der Informationstechnik" > $TMPDIR/meta.ini
26 EST_SIZE=$(du -s $TMPDIR/windows | cut -f 1)
26 echo "version_number=@PROJECT_VERSION@" >> $TMPDIR/meta.ini 27 echo "version_number=@PROJECT_VERSION@" >> $TMPDIR/meta.ini
27 echo "setupname=%1TrustBridge-@PROJECT_VERSION@.exe" >> $TMPDIR/meta.ini 28 echo "setupname=%1TrustBridge-@PROJECT_VERSION@.exe" >> $TMPDIR/meta.ini
28 echo "productname=TrustBridge" >> $TMPDIR/meta.ini 29 echo "productname=TrustBridge" >> $TMPDIR/meta.ini
30 echo "info_url=https://wald.intevation.org/projects/trustbridge/" >> $TMPDIR/meta.ino
31 echo "size=$EST_SIZE" >> $TMPDIR/meta.ini
29 cp $WINDOWS_NSSDIR/*.dll $TMPDIR/windows 32 cp $WINDOWS_NSSDIR/*.dll $TMPDIR/windows
30 cd $TMPD 33 cd $TMPD
31 zip -r TrustBridge-@PROJECT_VERSION@.zip TrustBridge-@PROJECT_VERSION@ 34 zip -r TrustBridge-@PROJECT_VERSION@.zip TrustBridge-@PROJECT_VERSION@
32 mv TrustBridge-@PROJECT_VERSION@.zip @CMAKE_BINARY_DIR@ 35 mv TrustBridge-@PROJECT_VERSION@.zip @CMAKE_BINARY_DIR@
33 rm -r $TMPD 36 rm -r $TMPD

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