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