From 3699a90b49d8e8fe873543a893710856cb3e3658 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Fri, 22 Apr 2011 15:28:58 +0200 Subject: Script updates to include libodb-qt --- binary/mingw/build-dist | 25 +++++++++++++++++++++++++ binary/mingw/libodb-qt-configure | 10 ++++++++++ 2 files changed, 35 insertions(+) create mode 100755 binary/mingw/libodb-qt-configure (limited to 'binary') diff --git a/binary/mingw/build-dist b/binary/mingw/build-dist index 23a5834..7914f8b 100755 --- a/binary/mingw/build-dist +++ b/binary/mingw/build-dist @@ -135,6 +135,31 @@ make make install-data cd .. +# Build libodb-qt +# +if [ $pack = n ]; then + make -C $src_root/odb/libodb-qt dist dist_prefix=$out_root/libodb-qt + + if [ $rebuild = y ]; then + cd libodb-qt + ./bootstrap + cd .. + fi +else + tar xfz $src_root/pack/libodb-qt-$version.tar.gz + mv libodb-qt-$version libodb-qt +fi + +cd libodb-qt + +if [ $rebuild = y ]; then + ../libodb-qt-configure +fi + +make +make install-data +cd .. + # Build libcutl # if [ $pack = n ]; then diff --git a/binary/mingw/libodb-qt-configure b/binary/mingw/libodb-qt-configure new file mode 100755 index 0000000..ea8dd72 --- /dev/null +++ b/binary/mingw/libodb-qt-configure @@ -0,0 +1,10 @@ +#! /bin/sh + +./configure \ +--disable-shared \ +--enable-static \ +--host i686-mingw32 \ +--target i686-mingw32 \ +--prefix=/mingw \ +--with-libodb=../libodb \ +CXXFLAGS="-O2 -W -Wall" -- cgit v1.1