Let's develop our recipe
We need to collect different pieces for our recipe. As our prime purpose is learning, we won't list a final working recipe for our package. Rather, we will keep on experimenting and modifying our recipe and explain what we have been doing wrong or what we have been missing in the previous version or step. We already have a recipe in our meta-ybdevelop
layer named helloworld
. We can copy the basic elements from it and start modifying it to make our task easy.
Tip
Copying from the existing recipe is not only required for ease, but also to avoid unnecessary mistakes.
Basic elements
The following are the basic elements that are very easy to set, and they are shown as follows in the helloworld
recipe:
DESCRIPTION = "Simple helloworld application" SECTION = "examples" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
This will be changed to the following in the case of PAC-MAN:
DESCRIPTION = "Pacman for console is a console...