summaryrefslogtreecommitdiff
blob: 5f744cc797d784141f611792b9c44bf79ab89bf2 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit eutils

DESCRIPTION="Bazel build system"
HOMEPAGE="http://bazel.io/"
SRC_URI="https://github.com/bazelbuild/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

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

DEPEND=""
RDEPEND="${DEPEND}"

src_prepare() {
		epatch "${FILESDIR}/${P}-java-1.7.patch"
}

src_configure() {
        :
}

src_compile() {
        ./compile.sh
}

src_install() {
		mkdir -p ${ED}/bin
		cp -a --reflink=auto output/${PN} ${ED}/bin/${PN}
}