Документ взят из кэша поисковой машины. Адрес оригинального документа : http://mirror.msu.net/pub/gentoo-portage/www-apps/guacamole/guacamole-0.9.8.ebuild
Дата изменения: Thu Sep 10 17:18:58 2015
Дата индексирования: Mon Apr 11 11:22:05 2016
Кодировка:
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit eutils
DESCRIPTION="Guacamole is a html5 vnc client as servlet"
HOMEPAGE="http://guac-dev.org/"
SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
mysql? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-jdbc-${PV}.tar.gz )
postgres? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-jdbc-${PV}.tar.gz )
noauth? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-noauth-${PV}.tar.gz )
ldap? ( http://sourceforge.net/projects/guacamole/files/current/extensions/${PN}-auth-ldap-${PV}.tar.gz )"
S="${WORKDIR}/${PN}-client-${PV}"

LICENSE="MIT"

SLOT="0"

KEYWORDS="~x86 ~amd64"

IUSE="ldap mysql postgres noauth"

DEPEND="dev-java/maven-bin:*"

RDEPEND="${DEPEND}
www-servers/tomcat[websockets]
>virtual/jre-1.6
net-misc/guacamole-server
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql )
ldap? ( net-nds/openldap )"

src_compile() {
mkdir "${HOME}"/.m2
cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's: