From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/ica/ica-bin_10.6.bb | 30 +++++++++++++++++++++++++ recipes/ica/ica-bin_8.0.bb | 54 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 recipes/ica/ica-bin_10.6.bb create mode 100644 recipes/ica/ica-bin_8.0.bb (limited to 'recipes/ica') diff --git a/recipes/ica/ica-bin_10.6.bb b/recipes/ica/ica-bin_10.6.bb new file mode 100644 index 0000000000..201950559d --- /dev/null +++ b/recipes/ica/ica-bin_10.6.bb @@ -0,0 +1,30 @@ +# 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 = "libxaw" + +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 +} diff --git a/recipes/ica/ica-bin_8.0.bb b/recipes/ica/ica-bin_8.0.bb new file mode 100644 index 0000000000..ede48ffe3b --- /dev/null +++ b/recipes/ica/ica-bin_8.0.bb @@ -0,0 +1,54 @@ +# 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" + +HOMEPAGE="www.citrix.com/download/" + +SRC_URI="file://${DL_DIR}/ICAClient-8.0-1.i386.rpm" + +S="${WORKDIR}" +PACKAGES= "${PN}" +FILES_${PN} = "/" + +python ica_do_fetch() { + import os + def dowarn(str,d): + out = bb.data.expand(str, d) + bb.note(out) + + file = bb.data.getVar('A', d) + basen = os.path.basename(file) + + if not os.path.exists(file): + dowarn('You need to perform the following steps to build this package:',d) + dowarn('Sign up at ${HOMEPAGE}',d) + dowarn('- Download %s and place it in ${DL_DIR}' % basen,d) + dowarn('- make this package again',d) + raise bb.build.FuncFailed('Package not downloaded') +} + +python do_fetch() { + bb.build.exec_func('ica_do_fetch', d) + bb.build.exec_func('base_do_fetch', d) +} + +do_unpack() { + rpm2cpio.pl ${A} | cpio -i --make-directories +} + +do_compile() { +} + +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 +} -- cgit 1.2.3-korg