Hi all, I have just committed a new eclass to the tree. This eclass has as purpose to make it easier to use berkeley db. Currently the eclass has two interesting functions (and some helpers that may or may not be interesting).
These functions are:
db_includedir
db_libname
Both functions can be used with and without arguments. Without arguments
they will give the best bdb version. With arguments they will loop
through the arguments which are version prefixes (they will be matched
with "=sys-libs/db-${1}*"
The includedir function returns the include dir of the best matched db
version. The libname function returns the libraryname of the best matched
db. This libraryname has the form db-${ver}, and as such could be just
appended to "-l". This means it is not the filename.
Paul;
--
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net
pgpp0TxceMdlj.pgp
Description: PGP signature
