add some new dependecies

This commit is contained in:
Mario Fetka
2013-04-15 23:55:48 +02:00
parent 050a659db1
commit 29268238eb
35 changed files with 898 additions and 540 deletions

View File

@@ -0,0 +1,2 @@
DIST zarafa-webapp-1.3-41013.noarch.rpm 3101068 SHA256 f7105e46015f4f9b275b9100bdf00a63decb495c6594295b9430a77adc6cbf9d SHA512 7e342860bf0dcec64e66d76ffc8fe1bc0bf18bea361b5a057e69489000b61cddd9861fcf7200c9a09fb9d5237fb4941c07906286430d773d9d7168cd07741261 WHIRLPOOL aec384ec39750d7299765781920d9c9f89718cebf5a6a88dc16884333fdd6d8e50590667f02ca63727e8d00987ee7621faf4951bc5c5b4277f32cfa7b4ee1eb1
EBUILD zarafa-webapp-plugins-1.3.ebuild 1190 SHA256 a6543ee55bda8d0b2671dfce9780aa76d3121fe2a00aa77b78cc2627247a14a1 SHA512 caa622eae84029b7dc82a595541e611ff18b0973ce13859428735d2b5553dd6c3f68f52c2cffee57ea816b17cb962eb05bc5f4f8fe8d3025664657f988f7e379 WHIRLPOOL 9a22908699136b92655570e1a2435e21623ee67b82c8ca994b32122bb1270165b12fff30f9b6aa896b0a6d3f026056cc61a8dc27b4cde29a5b890da3c9b1c9a1

View File

@@ -0,0 +1,53 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils rpm
DESCRIPTION="Zarafa WebApp plugins"
HOMEPAGE="http://zarafa.com/"
ZARAFA_WEBAPP_BUILD="final"
ZARAFA_WEBAPP_BUILDV="41013"
if [[ ${ZARAFA_WEBAPP_BUILD} == "final" ]] ; then
SRC_URI="http://download.zarafa.com/community/${ZARAFA_WEBAPP_BUILD}/WebApp/${PV}/rhel/zarafa-webapp-${PV}-${ZARAFA_WEBAPP_BUILDV}.noarch.rpm"
else
SRC_URI="http://download.zarafa.com/community/${ZARAFA_WEBAPP_BUILD}/WebApp/zarafa-webapp-${PV}-${ZARAFA_WEBAPP_BUILDV}.noarch.rpm"
fi
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~x86"
IUSE="plugin_extbox plugin_pdfbox"
RESTRICT="mirror"
DEPEND="www-apps/zarafa-webapp"
RDEPEND="${DEPEND}"
S="${WORKDIR}/usr/share/zarafa-webapp"
src_configure() {
return
}
src_compile() {
return
}
src_install() {
einfo "Installing plugins..."
dodir "/var/lib/zarafa-webapp/plugins"
for plugin in extbox pdfbox; do
if use "plugin_${plugin}"; then
einfo " ${plugin}"
cp -R "${S}/plugins/${plugin}" "${D}/var/lib/zarafa-webapp/plugins/"
fowners -R apache:apache "/var/lib/zarafa-webapp/plugins/${plugin}"
fi
done
}