db-use.eclass

Name

db-use.eclass -- This is a common location for functions that aid the use of sys-libs/db

Description

This eclass is designed to provide helpful functions for depending on sys-libs/db.

Supported EAPIs

5 6 7 8

Functions

db_ver_to_slot

Convert a version to a db slot

db_findver

Find the version that correspond to the given atom

db_includedir

Get the include dir for berkeley db. This function has two modes. Without any arguments it will give the best version available. With arguments that form the versions of db packages to test for, it will aim to find the library corresponding to it.

db_libname

Get the library name for berkeley db. Something like db-4.2 will be the outcome. This function has two modes. Without any arguments it will give the best version available. With arguments that form the versions of db packages to test for, it will aim to find the library corresponding to it.

Authors

Paul de Vrieze <pauldv@gentoo.org>

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/