summaryrefslogtreecommitdiff
path: root/dev-libs/slice-parser/slice-parser-3.7.8.ebuild
blob: 5a6e4077311d7c3f90b0028c54f1508bba470215 (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
EAPI="7"

inherit bjam unpacker

DESCRIPTION="Zeroc ICE slice parser as a standalone dynamic library"
HOMEPAGE="https://zeroc.com/products/ice"

SRC_URI="https://git.randomdan.homeip.net/repo/${PN}/snapshot/${P}.tar.xz
	https://github.com/zeroc-ice/ice/archive/v${PV}.tar.gz -> Ice-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~x86 ~amd64"

RDEPEND="=dev-libs/Ice-${PV}*"
DEPEND="${RDEPEND}
	dev-build/b2"

src_unpack() {
	unpack ${P}.tar.xz
	unpack_banner Ice-${P}.tar.xz
	tar -xzf ${DISTDIR}/Ice-${PV}.tar.gz -C "${S}"/ice --strip-components=1 ice-${PV}/cpp || die
}

src_compile() {
	bjambuild
}

src_install() {
	bjaminstall install \
		-i "Slice"
}