summaryrefslogtreecommitdiff
path: root/dev-cpp/slicer/slicer-1.10.7.ebuild
blob: e18d19263dfecacbda3111ee7a074715d4792682 (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="Zeroc ICE helper to create generic serialization code for slice types"
HOMEPAGE="http://slicer.randomdan.homeip.net/"

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

RDEPEND=">=dev-libs/Ice-3.7
	>=dev-libs/slice-parser-3.7:=
	xml? ( dev-cpp/libxmlpp:3.0 )
	json? ( >=dev-cpp/libjsonpp-0.11 )
	db? ( =dev-libs/libdbpp-1.4*:= )
	>=dev-libs/libadhocutil-0.8.3:=
	dev-libs/boost:="
DEPEND="${RDEPEND}
	virtual/pkgconfig
	dev-build/b2"

src_compile() {
	bjambuild \
		$(use xml && echo slicer/xml//slicer-xml) \
		$(use json && echo slicer/json//slicer-json) \
		$(use db && echo slicer/db//slicer-db) \
		slicer/slicer//slicer slicer/tool//slicer slicer/ice//slicer-ice || die
}

src_install() {
	bjaminstall slicer//install \
		$(use xml && echo slicer//install-xml) \
		$(use json && echo slicer//install-json) \
		$(use db && echo slicer//install-db) \
		-i ""
}