comparison packaging/tmp-createpackage.sh @ 340:9001eaa55549

Add first draft of packaging to build upon
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 09 Apr 2014 17:39:24 +0000
parents
children 35d6b371ba63
comparison
equal deleted inserted replaced
339:5fa58979cb3a 340:9001eaa55549
1 #!/bin/bash
2
3 #NSSDIR is hackish as this will be replaced by static compiling
4 # anyway
5
6 NSSDIR="/home/andre/ubuntu/src/mxe/usr/i686-w64-mingw32.static/nss-3.12.7/bin/"
7 MYPATH=$(dirname `readlink -f $0`)
8
9 TMPDIR=$(mktemp -d)
10
11 EXEFILES=$(find . -name cinst.exe -o -name m13ui.exe -o -name mozilla.exe)
12
13 cp $NSSDIR/*.dll $TMPDIR
14 cp $EXEFILES $TMPDIR
15
16 echo $TMPDIR
17 makensis -Dfiles_dir=$TMPDIR \
18 -Dcompany="Intevation GmbH" \
19 -Dversion_number=0.0.0.1 \
20 -Dsetupname="renameme.exe" \
21 -Dproductname="Really please rename me" \
22 -Dproductname_short="renameme" $MYPATH/renameme.nsi
23 rm -r $TMPDIR

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