summaryrefslogtreecommitdiff
blob: 034bb2bf01420c6428a8379ded8a0677b012fff0 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="6"

CMAKE_VERBOSE="OFF"
EGIT_REPO_URI="https://github.com/ContinuumIO/libhdfs3-downstream.git"

inherit cmake-utils git-r3

DESCRIPTION="A Native C/C++ HDFS Client"
HOMEPAGE="https://github.com/ContinuumIO/libhdfs3-downstream/"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="
	dev-cpp/gtest[static-libs]
	dev-cpp/gmock[static-libs]
	dev-libs/libxml2
	dev-libs/protobuf
	net-libs/libgsasl[kerberos]
"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${P}/libhdfs3"

src_prepare() {
	cmake-utils_src_prepare
	sed -e "s/DESTINATION lib/DESTINATION $(get_libdir)/g" -i src/CMakeLists.txt || die
}