view packaging/tmp-createpackage.sh @ 749:778382342802

Added installation of cron job.
author Sascha Wilde <wilde@intevation.de>
date Fri, 04 Jul 2014 17:13:57 +0200
parents 2e78d08ff46e
children
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

NSSDIR="/home/andre/ubuntu/src/mxe/usr/i686-w64-mingw32.static/nss-3.12.7/bin/"
MYPATH=$(dirname `readlink -f $0`)

TMPDIR=$(mktemp -d)

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

cp $NSSDIR/*.dll $TMPDIR
cp $EXEFILES $TMPDIR

echo $TMPDIR
makensis -Dfiles_dir=$TMPDIR \
    -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \
    -Dversion_number=0.0.0.1 \
    -Dsetupname="TrustBridge.exe" \
    -Dproductname="TrustBridge" \
    -Dproductname_short="TrustBridge" $MYPATH/trustbridge.nsi
rm -r $TMPDIR

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