view packaging/tmp-createpackage.sh.in @ 843:c27a9b2b096e

Allow to open external links from aboutdialog label.
author Emanuel Schuetze <emanuel@intevation.de>
date Wed, 30 Jul 2014 10:36:58 +0200
parents 8081ed84589d
children 637948e9e32d
line wrap: on
line source
# Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
# Software engineering by Intevation GmbH
#
# This file is Free Software under the GNU GPL (v>=2)
# and comes with ABSOLUTELY NO WARRANTY!
# See LICENSE.txt for details.

#!/bin/bash

#NSSDIR is hackish as this will be replaced by static compiling 
# anyway

TMPDIR=$(mktemp -d)

EXEFILES=$(find . -name cinst.exe -o -name trustbridge.exe -o -name mozilla.exe)

cp $EXEFILES $TMPDIR

EST_SIZE=$(du -s $TMPDIR | cut -f 1)

echo $TMPDIR
makensis -Dfiles_dir=$TMPDIR \
    -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \
    -Dversion_number=@PROJECT_VERSION@ \
    -Dsetupname="@CMAKE_BINARY_DIR@/TrustBridge-@PROJECT_VERSION@.exe" \
    -Dproductname="TrustBridge" \
    -Dpath_sep="/" \
    -Dinfo_url="https://wald.intevation.org/projects/trustbridge/" \
    -Dsize=$EST_SIZE \
    -Dproductname_short="TrustBridge" @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi
rm -r $TMPDIR

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