File: builddist.sh

package info (click to toggle)
flrig 2.0.05-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,816 kB
  • sloc: cpp: 137,870; sh: 4,508; ansic: 3,202; makefile: 487
file content (30 lines) | stat: -rwxr-xr-x 545 bytes parent folder | download
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
#!/bin/sh

clear

./configure \
  $PKGCFG \
  --host=i686-w64-mingw32.static \
  --with-ptw32=$PREFIX/i686-w64-mingw32.static \
  --with-libiconv-prefix=$PREFIX/iconv \
  --enable-static \
  PTW32_LIBS="-lpthread -lpcreposix -lpcre -lwinmm" \
  FLTK_CONFIG=$PREFIX/i686-w64-mingw32.static/bin/fltk-config \
  CXXFLAGS="-std=c++11 -std=gnu++11" 

make clean
make -j 6

$PREFIX/bin/i686-w64-mingw32.static-strip src/flrig.exe
make nsisinst
mv src/*setup*exe .

make clean

# build the distribution tarball
./configure

make distcheck
make clean