File: buildmxe.sh

package info (click to toggle)
fldigi 4.2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,600 kB
  • sloc: cpp: 282,126; ansic: 96,034; sh: 5,275; makefile: 1,152; sed: 16
file content (24 lines) | stat: -rwxr-xr-x 644 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#=======================================================================
# make the mxe-mingw32 executable

./configure \
  $PKGCFG \
  --host=i686-w64-mingw32.static \
  --without-asciidoc \
  --with-ptw32=$PREFIX/i686-w64-mingw32.static \
  --with-libiconv-prefix=$PREFIX/iconv \
  --enable-static \
  --with-libintl-prefix=$PREFIX/gettext \
  PTW32_LIBS="-lpthread -lpcreposix -lpcre" \
  FLTK_CONFIG=$PREFIX/bin/i686-w64-mingw32.static-fltk-config \

make -j 4

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

make nsisinst

mv src/*setup.exe .
ls -l *setup.exe