[oe] [PATCH] Use NEED_UNZIP_FOR_UNPACK variable for some recipes.
Ihar Hrachyshka
ihar.hrachyshka at gmail.com
Mon Sep 7 13:10:16 UTC 2009
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka at gmail.com>
---
recipes/misc-binary-only/tda1004x-firmware.bb | 3 ++-
recipes/mozilla/firefox-l10n.inc | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/recipes/misc-binary-only/tda1004x-firmware.bb b/recipes/misc-binary-only/tda1004x-firmware.bb
index 1e4d685..ff60717 100644
--- a/recipes/misc-binary-only/tda1004x-firmware.bb
+++ b/recipes/misc-binary-only/tda1004x-firmware.bb
@@ -1,9 +1,10 @@
SECTION = "base"
-DEPENDS = "unzip-native"
SRC_URI = "http://hauppauge.lightpath.net/de/nova-pci218c.exe"
FILES_${PN} = '*'
+NEED_UNZIP_FOR_UNPACK=1
+
python do_unpack() {
import re
diff --git a/recipes/mozilla/firefox-l10n.inc b/recipes/mozilla/firefox-l10n.inc
index 31555e3..cecd53a 100644
--- a/recipes/mozilla/firefox-l10n.inc
+++ b/recipes/mozilla/firefox-l10n.inc
@@ -11,13 +11,14 @@ def get_language_name(package):
return lang
-DEPENDS = "unzip-native"
RDEPENDS = "firefox"
LANGUAGE = "${@get_language_name('${PN}')}"
SRC_URI = "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/linux-i686/xpi/${LANGUAGE}.xpi"
S = "${WORKDIR}"
+NEED_UNZIP_FOR_UNPACK=1
+
do_configure() {
unzip -o -q -d ${LANGUAGE} ${LANGUAGE}.xpi
}
--
1.5.6.5
More information about the Openembedded-devel
mailing list