commit: 2a2e25733ee98482ac1b210bdc6a2dd49a2c3029 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Sun Jun 13 13:09:09 2021 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Sun Jun 13 13:10:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a2e2573
www-apps/zeppelin-bin: migrate to GLEP 81. Closes: https://bugs.gentoo.org/781533 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> www-apps/zeppelin-bin/zeppelin-bin-0.8.2-r1.ebuild | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/www-apps/zeppelin-bin/zeppelin-bin-0.8.2-r1.ebuild b/www-apps/zeppelin-bin/zeppelin-bin-0.8.2-r1.ebuild new file mode 100644 index 00000000000..a6da6911f3e --- /dev/null +++ b/www-apps/zeppelin-bin/zeppelin-bin-0.8.2-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 user + +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}" +}