1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/openhbci2/openhbci2.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
13 if [[ $xsrctar = *plugin-ddvcard* ]]; then
14 docdir=$docdir/plugin-ddvcard
17 # # ??? HELLO ??? how could they ever get this compiled,
18 # # doing a openhbci check with C instead of C++ ???
19 # var_append extraconfopt ' ' "LDFLAGS=-lstdc++"
23 hook_add preconf 10 set_docdir
25 # needed for $libdir != *lib
26 fix_openhbci2_config() {
27 if [ -f ./src/openhbci-tng/openhbci2-config.in.in ]; then
28 sed -i "s,/lib,/${libdir##*/}," ./src/openhbci-tng/openhbci2-config.in.in
31 hook_add preconf 5 "fix_openhbci2_config"
32 var_append confopt ' ' "--with-openssl-libs=$root/$( pkgprefix openssl )/${libdir##*/}"