# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/icaclient-7.0.ebuild,v 1.7 2006/06/12 21:07:16 wolf31o2 Exp $ DESCRIPTION="ICA Client" HOMEPAGE="http://www.citrix.com/" SRC_URI="ICAClient-7.00-1.i386.rpm" LICENSE="as-is" SLOT="0" KEYWORDS="~x86 -sparc" IUSE="" RESTRICT="fetch" RDEPEND="virtual/libc || ( ( x11-libs/libXp x11-libs/libXaw x11-libs/libX11 x11-libs/libSM x11-libs/libICE ) virtual/x11 ) >=x11-libs/openmotif-2.2.2" DEPEND="${RDEPEND} >=app-arch/rpm-3.0.6" S="${WORKDIR}/usr" pkg_nofetch() { einfo "Please download ${A} yourself from:" einfo "http://www.citrix.com/English/SS/downloads/details.asp?dID=2755&downloadID=3323&pID=186" einfo "and place it in ${DISTDIR}" } src_unpack() { # You must download ICAClient-7.00-1.i386.rpm # from www.citrix.com and put it in ${DISTDIR} rpm2cpio ${DISTDIR}/${A} | cpio -i --make-directories } src_install() { dodir /opt/ICAClient insinto /opt/ICAClient/.config doins lib/ICAClient/.config/* insinto /opt/ICAClient doins lib/ICAClient/Npica* doins lib/ICAClient/*.DLL doins lib/ICAClient/Wfcmgr* doins lib/ICAClient/Wfica* doins lib/ICAClient/eula.txt doins lib/ICAClient/npica.so doins lib/ICAClient/readme.txt insinto /opt/ICAClient/cache doins lib/ICAClient/cache/* insinto /opt/ICAClient/config doins lib/ICAClient/config/* insinto /opt/ICAClient/help doins lib/ICAClient/help/* insinto /opt/ICAClient/icons doins lib/ICAClient/icons/* insinto /opt/ICAClient/keyboard doins lib/ICAClient/keyboard/* insinto /opt/ICAClient/keystore/cacerts doins lib/ICAClient/keystore/cacerts/* insinto /opt/ICAClient/pkginf doins lib/ICAClient/pkginf/* insinto /opt/ICAClient/util doins lib/ICAClient/util/* exeinto /opt/ICAClient doexe lib/ICAClient/wfcmgr doexe lib/ICAClient/wfcmgr.bin doexe lib/ICAClient/wfica insinto /etc/env.d doins ${FILESDIR}/10ICAClient }