]> git.sur5r.net Git - bacula/bacula/commitdiff
Add librsync to depkgs
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 23 Nov 2010 10:37:30 +0000 (11:37 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:37:11 +0000 (14:37 +0200)
bacula/src/win32/External-mingw-w64
bacula/src/win32/External-mingw32
bacula/src/win32/build-depkgs-mingw-w64
bacula/src/win32/build-depkgs-mingw32

index 85f906f51f44f75e9950179e49d03654b03efdb5..446674912ff4accf697f7a47d0016c1fb2587eaa 100644 (file)
@@ -39,6 +39,7 @@ PTHREADS|http://www.bacula.org/depkgs-mingw32/pthreads-snap-2004-06-22.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
+RSYNC|http://www.bacula.org/depkgs-mingw32/librsync-0.9.7.tar.gz
 #DB|http://www.bacula.org/depkgs-mingw32/db-4.7.25.tar.gz
 # 
 # 
index 1ab7ee2c52f836d8775370af0d76429af2c4dee7..c0b9794e1b5b2250cae918227f3dcaa51e3e97e2 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
+RSYNC|http://www.bacula.org/depkgs-mingw32/librsync-0.9.7.tar.gz
 DB|http://www.bacula.org/depkgs-mingw32/db-4.7.25.tar.gz
 # 
 # 
index 3bc822092c3de05ae00b24aa066d5b17975ed9dd..ef15d80ed30f17dde758d925bd2c95daba876993 100755 (executable)
@@ -164,6 +164,15 @@ do_make()
    fi | tee -a make.log | parse_output
 }
 
+process_rsync()
+{
+   get_source "${URL_RSYNC}" "${DIR_RSYNC}" "${MKD_RSYNC}"
+   ./configure --host=x86_64-pc-mingw32
+   make -k # rdiff.exe has a problem
+   cp .libs/librsync.a ${DEPPKG_DIR}/lib
+   cp librsync*h ${DEPPKG_DIR}/include
+}
+
 process_zlib()
 {
    if get_source "${URL_ZLIB}" "${DIR_ZLIB}" "${MKD_ZLIB}"
@@ -274,6 +283,7 @@ process_openssl()
 if [ "$#" -eq 0 ]
 then
    process_zlib
+   process_rsync
    process_pcre
    process_pthreads
    process_openssl
index 7ccad8bc3e7d0b17082b60aa04fa45f5860c8e91..041bb5ff3378f4cc10a76a311024e33565f95338 100755 (executable)
@@ -177,6 +177,17 @@ process_zlib()
    do_make win32/Makefile.mingw32 PREFIX=${DEPPKG_DIR} install
 }
 
+process_rsync()
+{
+   get_source "${URL_RSYNC}" "${DIR_RSYNC}" "${MKD_RSYNC}"
+   ./configure --host=mingw32
+   echo Building librsync
+   do_make Makefile
+   echo Installing lib and headers
+   cp .libs/librsync.a ${DEPPKG_DIR}/lib
+   cp librsync*h ${DEPPKG_DIR}/include
+}
+
 process_pcre()
 {
    if get_source "${URL_PCRE}" "${DIR_PCRE}" "${MKD_PCRE}"
@@ -525,6 +536,7 @@ process_qt4()
 if [ "$#" -eq 0 ]
 then
    process_zlib
+   process_rsync
    process_pcre
    process_pthreads
    process_openssl