flrig/scripts/builddist.sh
2015-08-14 13:53:19 -05:00

24 lines
553 B
Bash
Executable file

# build file to generate the distribution binary tarball
autoreconf
# build windows installation file
./configure \
$PKGCFG \
$CROSSCFG \
--with-ptw32=$PREFIX/usr/i686-w64-mingw32.static \
--with-libiconv-prefix=$PREFIX/iconv \
--enable-static \
PTW32_LIBS="-lpthread -lpcreposix -lpcre -lregex" \
FLTK_CONFIG=$PREFIX/bin/i686-w64-mingw32.static-fltk-config
make
$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