55 lines
1.8 KiB
Bash
55 lines
1.8 KiB
Bash
# Copyright 1999-2007 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit eutils java-utils-2
|
|
|
|
DESCRIPTION="Novell Secure RemoteConsole Snap-in"
|
|
HOMEPAGE="http://www.novell.com"
|
|
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/J7J_dvKpjrI~/patchfiles/nw65sp6.zip
|
|
http://forge.novell.com/modules/xfcontent/private.php/jldap/builds/unix/novell-jldap-devel-2006.06.22-1unix.zip
|
|
http://www.novell.com/coolsolutions/tools/downloads/icons.tar.gz"
|
|
|
|
LICENSE="Novell-eDir-87"
|
|
SLOT="0"
|
|
KEYWORDS="~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="app-arch/unzip
|
|
>=app-admin/novell-novlc1-1.3.6_p1"
|
|
|
|
RDEPEND="virtual/libc
|
|
>=virtual/jdk-1.4
|
|
>=app-admin/novell-novlc1-1.3.6_p1"
|
|
|
|
S=${WORKDIR}
|
|
|
|
RESTRICT="nomirror nostrip"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
unzip -o ${WORKDIR}/nw65sp6/SYS/SYSZIP/RCONJ.ZIP || die "unpacking"
|
|
java-pkg_addcp /usr/ConsoleOne/ConsoleOneExt
|
|
java-pkg_addcp /usr/ConsoleOne/help
|
|
}
|
|
|
|
src_compile() { :; }
|
|
|
|
src_install() {
|
|
java-pkg_jarinto /usr/ConsoleOne/lib/rconsolej
|
|
java-pkg_dojar ${WORKDIR}/public/mgmt/ConsoleOne/1.2/lib/*.*
|
|
java-pkg_dojar ${WORKDIR}/novell-jldap-devel-2006.06.22-1unix/lib/*.jar
|
|
java-pkg_jarinto /usr/ConsoleOne/resources/rconsolej
|
|
java-pkg_dojar ${WORKDIR}/public/mgmt/ConsoleOne/1.2/resources/*.jar
|
|
java-pkg_jarinto /usr/ConsoleOne/snapins/rconsolej
|
|
java-pkg_dojar ${WORKDIR}/public/mgmt/ConsoleOne/1.2/snapins/*.jar
|
|
insinto /usr/ConsoleOne/help
|
|
doins -r ${WORKDIR}/public/mgmt/ConsoleOne/1.2/Help/*
|
|
into /usr/ConsoleOne
|
|
java-pkg_dolauncher rconj --main com.novell.application.securerconsolej.RConsoleJApplication
|
|
|
|
doicon ${WORKDIR}/icon/rconj.png
|
|
make_desktop_entry /usr/ConsoleOne/bin/rconj "Secure RemoteConsole" rconj.png Network
|
|
}
|