]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/win32/build-depkgs-mingw32
ebl typo fix
[bacula/bacula] / bacula / src / win32 / build-depkgs-mingw32
index 046813ac6c80960d142ee6748c4fc68b5b1df9b6..d615e152c4878cab8ae8662a2fc1bd446102a6e0 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}"
@@ -389,70 +404,70 @@ process_nsis()
 
 process_mtx()
 {
-        if get_source "${URL_MTX}" "${DIR_MTX}" "${MKD_MTX}"
-        then
-                echo Patching mtx
-                # We can't run configure in a cross-compile environment so we
-                # patch the files to the correct values
-                cp -f config.h.in config.h
-                cp -f Makefile.in Makefile
-                rm -f configure
-                >patch.log
-                do_patch mtx.patch
-        fi
-        echo Building mtx
-        do_make Makefile prefix=${DEPPKG_DIR} all
-        echo Installing mtx
-        do_make Makefile prefix=${DEPPKG_DIR} install
+   if get_source "${URL_MTX}" "${DIR_MTX}" "${MKD_MTX}"
+   then
+           echo Patching mtx
+           # We can't run configure in a cross-compile environment so we
+           # patch the files to the correct values
+           cp -f config.h.in config.h
+           cp -f Makefile.in Makefile
+           rm -f configure
+           >patch.log
+           do_patch mtx.patch
+   fi
+   echo Building mtx
+   do_make Makefile prefix=${DEPPKG_DIR} all
+   echo Installing mtx
+   do_make Makefile prefix=${DEPPKG_DIR} install
 }
 
 process_mt()
 {
-        if get_source "${URL_MT}" "${DIR_MT}" "${MKD_MT}"
-        then
-                echo "Patching mt"
-                >patch.log
-                do_patch mt.patch
-        fi
-        echo "Building mt"
-        do_make Makefile PREFIX=${DEPPKG_DIR} all
-        echo Installing mt
-        do_make Makefile PREFIX=${DEPPKG_DIR} install
+   if get_source "${URL_MT}" "${DIR_MT}" "${MKD_MT}"
+   then
+           echo "Patching mt"
+           >patch.log
+           do_patch mt.patch
+   fi
+   echo "Building mt"
+   do_make Makefile PREFIX=${DEPPKG_DIR} all
+   echo Installing mt
+   do_make Makefile PREFIX=${DEPPKG_DIR} install
 }
 
 process_sed()
 {
-        if get_source "${URL_SED}" "${DIR_SED}" "${MKD_SED}"
-        then
-                echo Patching sed
-                >patch.log
-                do_patch sed.patch
-                echo Configuring sed
-                ./configure --host=mingw32 \
-                            --prefix=${DEPPKG_DIR} \
-                            --disable-nls >make.log 2>&1
-        fi
-        echo Building sed
-        do_make Makefile all
-        echo Installing sed
-        do_make Makefile install
+   if get_source "${URL_SED}" "${DIR_SED}" "${MKD_SED}"
+   then
+           echo Patching sed
+           >patch.log
+           do_patch sed.patch
+           echo Configuring sed
+           ./configure --host=mingw32 \
+                       --prefix=${DEPPKG_DIR} \
+                       --disable-nls >make.log 2>&1
+   fi
+   echo Building sed
+   do_make Makefile all
+   echo Installing sed
+   do_make Makefile install
 }
 
 process_stab2cv()
 {
-        if get_source "${URL_STAB2CV}" "${DIR_STAB2CV}" "${MKD_STAB2CV}"
-        then
-                # echo Patching stab2cv
-                # >patch.log
-                # do_patch stab2cv.patch
-                echo Configuring stab2cv
-                ./configure --prefix=${DEPPKG_DIR}/tools \
-                            >make.log 2>&1
-        fi
-        echo Building stab2cv
-        do_make Makefile 
-        echo Installing stab2cv
-        do_make Makefile install
+   if get_source "${URL_STAB2CV}" "${DIR_STAB2CV}" "${MKD_STAB2CV}"
+   then
+           # echo Patching stab2cv
+           # >patch.log
+           # do_patch stab2cv.patch
+           echo Configuring stab2cv
+           ./configure --prefix=${DEPPKG_DIR}/tools \
+                       >make.log 2>&1
+   fi
+   echo Building stab2cv
+   do_make Makefile 
+   echo Installing stab2cv
+   do_make Makefile install
 }
 
 process_cmd_utils()