README 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. meta-perl
  2. =========
  3. This layer provides commonly-used perl related recipes such as perl libraries
  4. in the Comprehensive Perl Archive Network.
  5. Contents and Help
  6. -----------------
  7. In this section the contents of the layer is listed, along with a short
  8. help for each package.
  9. -- libdbi-perl --
  10. The DBI is a database access module for the Perl programming language.
  11. It defines a set of methods, variables, and conventions that provide
  12. a consistent database interface, independent of the actual database
  13. being used.
  14. |<- Scope of DBI ->|
  15. .-. .--------------. .-------------.
  16. .-------. | |---| XYZ Driver |---| XYZ Engine |
  17. | Perl | | | `--------------' `-------------'
  18. | script| |A| |D| .--------------. .-------------.
  19. | using |--|P|--|B|---|Oracle Driver |---|Oracle Engine|
  20. | DBI | |I| |I| `--------------' `-------------'
  21. | API | | |...
  22. |methods| | |... Other drivers
  23. `-------' | |...
  24. `-'
  25. -- libdbd-sqlite-perl --
  26. DBD::SQLite is a Perl DBI driver for SQLite, that includes the entire
  27. thing in the distribution. So in order to get a fast transaction capable
  28. RDBMS working for your perl project you simply have to install this
  29. module, and nothing else.
  30. usage: there is a test case to show you how it works
  31. 1) vim local.conf:
  32. ...
  33. IMAGE_INSTALL_append = " libdbd-sqlite-perl"
  34. PERL_DBM_TEST = "1"
  35. ...
  36. 2) build core-image-sato and boot the target
  37. 3) run "sqlite-perl-test.pl" on target. This script includes five
  38. operations create/insert/update/delete/select to do with a table.
  39. More information can be found in the recipe's git log.
  40. Dependencies
  41. ------------
  42. This layer depends on:
  43. URI: git://git.openembedded.org/openembedded-core
  44. branch: master
  45. revision: HEAD
  46. prio: default
  47. Adding the meta-perl layer to your build
  48. ---------------------------------------
  49. In order to use this layer, you need to make the build system aware of
  50. it.
  51. Assuming the meta-perl layer exists at the top-level of your
  52. yocto build tree, you can add it to the build system by adding the
  53. location of the meta-perl layer to bblayers.conf, along with any
  54. other layers needed. e.g.:
  55. BBLAYERS ?= " \
  56. /path/to/oe-core/meta \
  57. /path/to/layer/meta-perl \
  58. Maintenance
  59. -----------
  60. Send patches / pull requests to openembedded-devel@lists.openembedded.org with
  61. '[meta-perl]' in the subject.
  62. When sending single patches, please using something like:
  63. 'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-perl][PATCH'
  64. Layer maintainers:
  65. Hongxu Jia <hongxu.jia@windriver.com>
  66. Tim "moto-timo" Orling <ticotimo@gmail.com>
  67. License
  68. -------
  69. All metadata is MIT licensed unless otherwise stated. Source code included
  70. in tree for individual recipes is under the LICENSE stated in each recipe
  71. (.bb file) unless otherwise stated.