# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/bdb33/bdb33.conf # Copyright (C) 2004 - 2022 The T2 SDE Project # Copyright (C) 1998 - 2003 ROCK Linux Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- # include the generic config for any bdb . $base/package/*/*/bdb-conf.in if [[ $pkg != *-java ]]; then pkg_bdb33_pm() { # this job should be done by Makefile :( ln -svf libdb-3.3.a $libdir/libdb-3.a ln -svf libdb_cxx-3.3.a $libdir/libdb_cxx-3.a } hook_add postmake 3 'pkg_bdb33_pm' # default for it's mayor version hook_add postmake 4 '[ -e $includedir/${pkg:1:3} ] || \ ln -svf ${pkg:1} $includedir/${pkg:1:3}' fi