Add more prerequisites for including online banking; still disabled, though.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15394 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2007-01-17 14:33:56 +00:00
parent 7ef00ee207
commit 39d29bab2d
2 changed files with 27 additions and 1 deletions

View File

@ -29,6 +29,8 @@ function prepare() {
_GNOME_UDIR=`unix_path $GNOME_DIR`
_LIBGSF_UDIR=`unix_path $LIBGSF_DIR`
_GOFFICE_UDIR=`unix_path $GOFFICE_DIR`
_GWENHYWFAR_UDIR=`unix_path $GWENHYWFAR_DIR`
_AQBANKING_UDIR=`unix_path $AQBANKING_DIR`
_GNUCASH_UDIR=`unix_path $GNUCASH_DIR`
_BUILD_UDIR=`unix_path $BUILD_DIR`
_INSTALL_UDIR=`unix_path $INSTALL_DIR`
@ -127,6 +129,23 @@ function dist_goffice() {
cp -a $_GOFFICE_UDIR/share/{goffice,pixmaps} $DIST_UDIR/share
}
function dist_gwenhywfar() {
setup gwenhywfar
cp -a ${_GWENHYWFAR_UDIR}/bin/*.dll ${DIST_UDIR}/bin
mkdir -p ${DIST_UDIR}/etc
cp -a ${_GWENHYWFAR_UDIR}/etc/* ${DIST_UDIR}/etc
cp -a ${_GWENHYWFAR_UDIR}/lib/gwenhywfar ${DIST_UDIR}/lib
}
function dist_aqbanking() {
setup aqbanking
cp -a ${_AQBANKING_UDIR}/bin/*.exe ${DIST_UDIR}/bin
cp -a ${_AQBANKING_UDIR}/bin/*.dll ${DIST_UDIR}/bin
cp -a ${_AQBANKING_UDIR}/lib/aqbanking ${DIST_UDIR}/lib
cp -a ${_AQBANKING_UDIR}/share/aqbanking ${DIST_UDIR}/share
cp -a ${_AQBANKING_UDIR}/share/aqhbci ${DIST_UDIR}/share
}
function dist_gnucash() {
setup GnuCash
mkdir -p $DIST_UDIR/bin
@ -182,6 +201,8 @@ dist_libxml2
dist_gnome
dist_libgsf
dist_goffice
#dist_gwenhywfar
#dist_aqbanking
dist_gnucash
finish
qpopd

View File

@ -625,10 +625,15 @@ function inst_gwenhywfar() {
echo "Gwenhywfar already installed. Skipping."
else
wget_unpacked $GWENHYWFAR_URL $DOWNLOAD_DIR $TMP_DIR
# Compiling gwenhywfar needs the openssl DLLs somewhere
# outside of WINDOWS_DIR:
_WIN_UDIR=`unix_path ${WINDIR}`
cp ${_WIN_UDIR}/system32/libssl32.dll ${_WIN_UDIR}/system32/libeay32.dll ${_OPENSSL_UDIR}/lib || die "OpenSSL is not installed correctly."
qpushd $TMP_UDIR/gwenhywfar-*
./configure \
--with-openssl-includes=$_OPENSSL_UDIR/include \
--with-openssl-libs=$_OPENSSL_UDIR/lib \
ssl_libraries="-L${_OPENSSL_UDIR}/lib" \
ssl_lib="-leay32 -lssl32" \
--prefix=$_GWENHYWFAR_UDIR \
LDFLAGS="${REGEX_LDFLAGS}"
make