flmsg/scripts/builddist.sh
David Freese 3a1c30420f MXE build
* mods to allow compilation in mxe-mingw32
2013-06-20 14:37:12 -05:00

30 lines
609 B
Bash
Executable file

# build file to generate the distribution binary tarball
myscripts/cleanup
autoreconf
./configure --prefix=/tmp/flmsg-build --enable-static
make install-strip
tar czf flmsg-$1.bin.tgz -C /tmp/flmsg-build .
make clean
./configure \
$PKGCFG \
$CROSSCFG \
--with-ptw32=/opt/mxe/usr/i686-pc-mingw32 \
--enable-static \
PTW32_LIBS="-lpthread -lpcreposix -lpcre -lregex" \
FLTK_CONFIG=$PREFIX/bin/i686-pc-mingw32-fltk-config \
make
$PREFIX/bin/i686-pc-mingw32-strip src/flmsg.exe
make nsisinst
mv src/*setup*exe .
make clean
# build the distribution tarball
./configure
make distcheck
make clean