1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="A c++-class-library for easy and light database-access. Currently for postgresql, sqlite3 and mysql"
8 HOMEPAGE="http://www.tntnet.org/tntdb.html"
9 SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
12 KEYWORDS="~amd64 ~x86"
13 IUSE="doc mysql postgres sqlite"
14 REQUIRED_USE="|| ( mysql postgres sqlite )"
16 RDEPEND="mysql? ( virtual/mysql )
17 postgres? ( dev-db/postgresql-base )
18 sqlite? ( dev-db/sqlite:3 )
19 >=dev-libs/cxxtools-2.1"
21 doc? ( app-doc/doxygen )"
26 $(use_with postgres postgresql) \
28 $(use_with doc doxygen) \
29 --docdir=/usr/share/doc/${PF} \
30 --htmldir=/usr/share/doc/${PF}/html
37 insinto /usr/share/doc/${PF}/examples