File: buildmxe.sh

package info (click to toggle)
flmsg 4.0.23-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,040 kB
  • sloc: cpp: 73,204; ansic: 11,555; sh: 4,266; makefile: 359
file content (19 lines) | stat: -rwxr-xr-x 405 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

### Script to build a win32 installation

./configure \
  $PKGCFG \
  --host=i686-w64-mingw32.static \
  --with-ptw32=$PREFIX/i686-w64-mingw32.static \
  --enable-static \
  PTW32_LIBS="-lpthread -lpcreposix -lpcre" \
  FLTK_CONFIG=$PREFIX/bin/i686-w64-mingw32.static-fltk-config

make clean
make -j 4

$PREFIX/bin/i686-w64-mingw32.static-strip src/flmsg.exe

make nsisinst
mv src/*setup*exe .