gentoo-overlay/dev-libs/thrift/thrift-9998-r7.ebuild
2017-07-17 15:02:21 +03:00

39 lines
886 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit cmake-utils eutils
DESCRIPTION="Apache Thrift RPC compiler and libraries (RBKmoney fork)"
HOMEPAGE="http://github.com/rbkmoney/thrift"
COMMIT="c219a0a7546ecd50dae85f5162dd0281d3fb765b"
SRC_URI="https://github.com/rbkmoney/${PN}/archive/${COMMIT}.tar.gz"
RESTRICT="mirror"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+compiler libraries examples test"
DEPEND="libraries? ( dev-libs/boost )"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build compiler)
$(cmake-utils_use_build libraries)
$(cmake-utils_use_build examples)
$(cmake-utils_use_build test testing)
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
}