blob: b98e468a55f911c8073808cb38e340d941135118 (
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
37
38
39
40
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit java-pkg-2
MY_PN="zeppelin"
MY_P="${MY_PN}-${PV}-bin-all"
DESCRIPTION="Web-based interactive data analytics notebook launcher"
HOMEPAGE="https://zeppelin.apache.org"
SRC_URI="mirror://apache/zeppelin/${MY_PN}-${PV}/${MY_P}.tgz -> ${P}.tgz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND="
acct-group/zeppelin
acct-user/zeppelin
>=virtual/jdk-1.8"
RDEPEND="
>=virtual/jre-1.8"
S="${WORKDIR}/${MY_P}"
INSTALL_DIR="/opt/${P}"
src_install() {
keepdir /var/log/zeppelin
fowners -R zeppelin:zeppelin /var/log/zeppelin
newinitd "${FILESDIR}/zeppelin.init.d" zeppelin
dodir "${INSTALL_DIR}"
cp -pRP * "${ED}/${INSTALL_DIR}" || die
dosym "${P}" /opt/zeppelin
fowners -R zeppelin:zeppelin "${INSTALL_DIR}"
}
|