mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
gui-apps/openrefine: add Commons extension
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
@@ -8,16 +8,20 @@ inherit wrapper
|
||||
DESCRIPTION="Wikidata batch editor, Wikimedia Commons mass upload tool"
|
||||
HOMEPAGE="https://openrefine.org"
|
||||
|
||||
SRC_URI="https://github.com/OpenRefine/OpenRefine/releases/download/${PV}/${PN}-linux-${PV}.tar.gz"
|
||||
SRC_URI="https://github.com/OpenRefine/OpenRefine/releases/download/${PV}/${PN}-linux-${PV}.tar.gz
|
||||
commons? ( https://github.com/OpenRefine/CommonsExtension/releases/download/v0.1.1/openrefine-commons-0.1.1.zip )"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+commons"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND="commons? ( app-arch/unzip )"
|
||||
|
||||
DEPEND="
|
||||
virtual/jre
|
||||
dev-java/maven-bin
|
||||
net-libs/nodejs
|
||||
virtual/jre
|
||||
dev-java/maven-bin
|
||||
net-libs/nodejs
|
||||
"
|
||||
|
||||
src_install() {
|
||||
@@ -26,6 +30,11 @@ src_install() {
|
||||
mkdir -p "${ED}/${apphome}" tools build || die
|
||||
chmod 775 tools build || die
|
||||
keepdir ${apphome}/{tools,build}
|
||||
|
||||
if use commons ; then
|
||||
cp -r "${WORKDIR}/${NANE}/commons-extension" webapp/extensions || die
|
||||
fi
|
||||
|
||||
cp -r . "${ED}/${apphome}" || die
|
||||
|
||||
make_wrapper refine "
|
||||
|
||||
Reference in New Issue
Block a user