File: builddist.sh

package info (click to toggle)
fldigi 4.2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,600 kB
  • sloc: cpp: 282,156; ansic: 96,034; sh: 5,275; makefile: 1,152; sed: 16
file content (56 lines) | stat: -rwxr-xr-x 1,362 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/bash
#===============================================================================
# linux binaries no longer created
#===============================================================================

#-------------------------------------------------------------------------------
# make the mxe-mingw32 executable
#-------------------------------------------------------------------------------

autoreconf

rm -f fldigi*$1*

make clean

./configure \
  $PKGCFG \
  $CROSSCFG \
  --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

$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

make clean

#-------------------------------------------------------------------------------
# build the distribution tarball
#-------------------------------------------------------------------------------

./configure --without-asciidoc

make distcheck

make clean

git co po/de.po
git co po/es.po
git co po/fr.po
git co po/it.po
git co po/pl.po
git co po/nl.po
git co po/fldigi.pot
git co src/dialogs/guide.cxx