+++ /dev/null
-SRC_URI=""
-
-do_whee() {
- oenote "testing, testing, 1 .. 2 .. 3 .."
-}
-
-# insert whee task between compile and unpack
-addtask whee after do_unpack before do_compile
+++ /dev/null
-# Try 'oebuild showenv evalnow-1.0.oe'
-
-EVAL_A='a'
-EVAL_B='b'
-EVAL_C='a is ${EVAL_A}'
-EVAL_CNOW:='a(now) is ${EVAL_A}'
-EVAL_A='a two'
+++ /dev/null
-python handleFail() {
- from oe import expand
- from oe.event import Handled, NotHandled
- import os
- if getattr(e, "__name__", None) == None:
- name = e.__class__.__name__
- else:
- name = e.__name__
- if name == "TaskFailed" or name == "TaskStarted" or name == "TaskSucceeded":
- print "Caught %s event of %s" % (name, e.task)
- return Handled
- return NotHandled
-}
-
-addhandler handleFail
-
-python PkgEvent() {
- from oe import expand
- from oe.event import Handled, NotHandled
- import os
- if getattr(e, "__name__", None) == None:
- name = e.__class__.__name__
- else:
- name = e.__name__
- if name == "PkgFailed" or name == "PkgStarted" or name == "PkgSucceeded":
- print "Caught %s event of %s" % (name, e.pkg)
- return Handled
- return NotHandled
-}
-
-addhandler PkgEvent
-
-do_compile() {
- exit 1
-}
+++ /dev/null
-base_do_unpack() {
- oenote "base_do_unpack"
- test "${A}" != "" && unpack "${A}" || oenote "nothing to extract"
-}
-
-
-base_do_compile() {
- oenote "base_do_compile"
- if [ -x ./configure ] ; then
- oeconf
- oe_runmake || die "oemake failed"
- else
- oenote "nothing to compile"
- fi
-}
-
-
-base_do_stage() {
- oenote "base_do_stage"
- oenote "nothing to install into stage area"
-}
-
-
-base_do_install() {
- oenote "base_do_install"
- oenote "nothing to install"
-}
-
-EXPORT_FUNCTIONS do_unpack do_compile do_stage do_install
+++ /dev/null
-# This is a test to check if ${TARGET_ARCH} override works:
-
-test() {
- einfo "original test() function"
-}
-
-test_arm() {
- einfo "test() for arm"
-}
+++ /dev/null
-SRC_URI=""
-FILES=""
-
-PACKAGES="libncurses5"
-
-# per-package metadata
-FILES_libncurses5="/usr/lib/libncurses.so"
-DESCRIPTION_libncurses5="Ncurses libraries"
-
-inherit base package
-
-do_install () {
- cd ${D}
- mkdir -p usr/lib
- ln -sf libncurses.so.5.2 usr/lib/libncurses.so
-}
+++ /dev/null
-inherit base_srpm
-
-SRC_URI=""
-SRPMFILE="/usr/src/redhat/SRPMS/kernel-2.5.70mm7-2.src.rpm"