]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Add libdb to mingw32 for accurate backup
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 7 Jul 2008 13:15:18 +0000 (13:15 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 7 Jul 2008 13:15:18 +0000 (13:15 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7331 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/win32/External-mingw32
bacula/src/win32/build-depkgs-mingw32

index 7dbfeb849c2d6af5ca233af4ab6ad712364475bf..b5b37c490c981c707dbb43d85049757d17fcaecf 100644 (file)
@@ -39,6 +39,7 @@ SQLITE|http://www.bacula.org/depkgs-mingw32/sqlite-3.3.17.tar.gz
 STAB2CV|http://www.bacula.org/depkgs-mingw32/stab2cv-0.1.tar.bz2
 WX|http://www.bacula.org/depkgs-mingw32/wxWidgets-2.8.7.tar.gz
 ZLIB|http://www.bacula.org/depkgs-mingw32/zlib-1.2.3.tar.gz
+DB|http://www.bacula.org/depkgs-mingw32/db-4.7.25.tar.gz
 # 
 # 
 # Original file locations
@@ -64,3 +65,4 @@ ZLIB|http://www.bacula.org/depkgs-mingw32/zlib-1.2.3.tar.gz
 # STAB2CV|http://superb-west.dl.sourceforge.net/sourceforge/stab2cv/stab2cv-0.1.tar.bz2
 # WX|http://superb-west.dl.sourceforge.net/sourceforge/wxwindows/wxWidgets-2.7.0.tar.gz
 # ZLIB|http://www.zlib.net/zlib-1.2.3.tar.gz
+# DB|http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz
index 046813ac6c80960d142ee6748c4fc68b5b1df9b6..eb55c47bea337bc630310061b223323688b2577e 100755 (executable)
@@ -197,6 +197,21 @@ process_pcre()
    do_make Makefile PREFIX=${DEPPKG_DIR} install
 }
 
+process_db()
+{
+   if get_source "${URL_DB}" "${DIR_DB}" "${MKD_DB}"
+   then
+          echo No Patch
+   fi
+   cd build_unix
+   ../dist/configure --host=mingw32 --enable-mingw --prefix=${DEPPKG_DIR}
+   > make.log
+   echo Building DB
+   do_make Makefile
+   echo Installing DB
+   do_make Makefile install_setup install_include install_lib
+}
+
 process_pthreads()
 {
    if get_source "${URL_PTHREADS}" "${DIR_PTHREADS}" "${MKD_PTHREADS}"