gentoo-overlay/dev-libs/thrift/thrift-9998-r4.ebuild
2017-02-27 20:07:22 +03:00

40 lines
899 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit cmake-utils eutils
DESCRIPTION="Apache Thrift RPC compiler and libraries (RBKmoney fork)"
HOMEPAGE="http://github.com/rbkmoney/thrift"
COMMIT="910ef56bc6e1fc5d5067fed2ab3ca04d98e275b9"
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
}