summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/icaclient/icaclient-7.0.ebuild')
-rw-r--r--net-misc/icaclient/icaclient-7.0.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/net-misc/icaclient/icaclient-7.0.ebuild b/net-misc/icaclient/icaclient-7.0.ebuild
new file mode 100644
index 000000000000..d3108f35de16
--- /dev/null
+++ b/net-misc/icaclient/icaclient-7.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# 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.1 2003/10/10 18:16:27 mholzer Exp $
+
+S=${WORKDIR}/usr
+DESCRIPTION="ICA Client"
+SRC_URI="ICAClient-7.00-1.i386.rpm"
+HOMEPAGE="http://www.citrix.com/download/unix-downloads.asp"
+RDEPEND="virtual/glibc virtual/x11"
+DEPEND="${RDEPEND} >=app-arch/rpm-3.0.6"
+LICENSE="as-is"
+SLOT="0"
+RESTRICT="fetch"
+KEYWORDS="~x86 ~sparc"
+
+dyn_fetch() {
+ for y in ${A}
+ do
+ digest_check ${y}
+ if [ $? -ne 0 ]; then
+ einfo "Please download this yourself from www.citrix.com"
+ einfo "and place it in ${DISTDIR}"
+ exit 1
+ fi
+ done
+}
+
+src_unpack() {
+ # You must download ICAClient-6.30-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
+}