stable/trunk/novell4gentoo/net-mail/novell-groupwise-gwclient/novell-groupwise-gwclient-6.5.7_p0522.ebuild
2007-08-29 06:01:12 +00:00

47 lines
1.1 KiB
Bash

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils rpm
MY_P="${P/_p/-}"
DESCRIPTION="Novell Groupwise 7 Client for Linux"
HOMEPAGE="http://www.novell.com/en/gropwise/"
SRC_URI="http://${NOVELL_ACCOUNT_USERNAME}:${NOVELL_ACCOUNT_PASSWORD}@cdn.novell.com/prot/25dBd35JnqA~/patchfiles/gw656up2clnxmulti.tar.gz"
LICENSE="Novell-GW-7"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="java system-jre"
DEPEND="!net-misc/novell-groupwise-gwclient"
RDEPEND="sys-libs/glibc
sys-libs/libstdc++-v3
sys-devel/gcc
system-jre? (
|| ( virtual/jdk
virtual/jre )
amd64? ( app-emulation/emul-linux-x86-java )
)
amd64? ( app-emulation/emul-linux-x86-compat )"
RESTRICT="strip mirror"
src_unpack() {
unpack ${A}
mkdir -p ${WORKDIR}/${MY_P}
cd ${MY_P}
rpm_unpack ${WORKDIR}/${MY_P}.i386.rpm
}
src_compile() { :; }
src_install() {
insinto /usr/share/applications
doins "${WORKDIR}"/${MY_P}/opt/novell/groupwise/client/gwclient.desktop
mv "${WORKDIR}"/${MY_P}/opt "${D}"/ || die "mv opt"
dodir /usr/bin
dosym /opt/novell/groupwise/client/bin/groupwise /usr/bin/groupwise
}