summaryrefslogtreecommitdiff
path: root/dev-libs/icetray/icetray-0.5.ebuild
blob: 20fdc6938e5d1d4b1aec53f13180f6bdcd8f8af2 (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="IceTray and DryIce for bootstrapping and dry running IceBox services"
HOMEPAGE="http://icetray.randomdan.homeip.net/"
SRC_URI="https://git.randomdan.homeip.net/repo/${PN}/snapshot/${P}.tar.xz"

LICENSE="MIT"
SLOT="0/0.5"
KEYWORDS="amd64 x86"
IUSE="ut tools"

RDEPEND="
	dev-libs/boost:=
	=dev-libs/Ice-3.7*
	>=dev-libs/libdbpp-1.4:=
	>=dev-libs/libadhocutil-0.7.5:=
	dev-cpp/slicer:=[db]
	net-libs/libesmtp
	tools? ( dev-build/b2 )
"
DEPEND="
	${RDEPEND}
	virtual/pkgconfig
	dev-build/b2
"

src_compile() {
	bjambuild icetray/icetray \
		$(use tools && echo icetray/tool) \
		$(use ut && echo icetray/dryice)
}

src_install() {
	bjaminstall icetray/icetray//install \
		$(use tools && echo icetray/tool//install) \
		$(use ut && echo icetray/dryice//install)
}