summaryrefslogtreecommitdiff
path: root/dev-libs/libdbpp/libdbpp-1.4.9-r1.ebuild
blob: 513e8c2383ce37f10f925cc570d11cd36ccaf6fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
EAPI="7"

inherit bjam

DESCRIPTION="C++ database connectivity common components"
HOMEPAGE="http://libdbpp.randomdan.homeip.net/"

SRC_URI="https://git.randomdan.homeip.net/repo/${PN}/snapshot/${P}.tar.xz"
LICENSE="MIT"
SLOT="0/1.4.9"
KEYWORDS="x86 amd64"
IUSE="man ut"

RDEPEND="
	dev-libs/boost:=
	>=dev-libs/libadhocutil-0.8:=
"
DEPEND="
	${RDEPEND}
	sys-devel/flex
	dev-build/b2
	virtual/pkgconfig
	man? ( app-text/doxygen )
"

src_compile() {
	bjambuild \
		libdbpp//dbppcore $(use ut && echo libdbpp//dbpptestcore libdbpp//createmockdb)
}

src_install() {
	bjaminstall \
		libdbpp//install $(use ut && echo libdbpp//installtest) \
		-i dbpp

	if use man ; then
		doxygenbuild
	fi
}