aboutsummaryrefslogtreecommitdiff
path: root/recipes/ica/ica-bin_10.6.bb
blob: b285e33d610c4c459c1956849b7cf6a7bbc99cdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# ica-bin OE build file
# Copyright (C) 2004-2006, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)

DEPENDS = "virtual/libx11 libxaw rpm2cpio-native fakeroot-native"
RDEPENDS_${PN} = "libxaw"
PR = "r1"

HOMEPAGE="www.citrix.com/download/"

SRC_URI="ftp://download2.citrix.com/FILES/en/products/Linux10/ICAClient-10.6-1.i386.rpm"

S="${WORKDIR}"
FILES_${PN} += "/"
FILES_${PN}-dbg += "/usr/lib/ICAClient/.debug"

do_configure() {
	rpm2cpio.pl ${DL_DIR}/ICAClient-${PV}-1.i386.rpm | fakeroot cpio -i --make-directories
}

DDIR="${D}/usr/lib/ICAClient"

do_install () {
	for file in `find usr/lib/ICAClient/ -type d`; do
		install -d ${D}/$file
	done

	for file in `find usr/lib/ICAClient/ -type f`; do
		install $file ${D}/$file
	done
}

SRC_URI[md5sum] = "f71aa1956ce18508d2438ebae2ad507c"
SRC_URI[sha256sum] = "d3d77f54064f6b2df7ff3bf6a01e1f0b9d0e2088f31d69ba6b8e07bd587cb4f8"