README 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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: mickledore
  45. Adding the meta-perl layer to your build
  46. ---------------------------------------
  47. In order to use this layer, you need to make the build system aware of
  48. it.
  49. Assuming the meta-perl layer exists at the top-level of your
  50. yocto build tree, you can add it to the build system by adding the
  51. location of the meta-perl layer to bblayers.conf, along with any
  52. other layers needed. e.g.:
  53. BBLAYERS ?= " \
  54. /path/to/oe-core/meta \
  55. /path/to/layer/meta-perl \
  56. Maintenance
  57. -----------
  58. Send patches / pull requests to openembedded-devel@lists.openembedded.org with
  59. '[meta-perl][mickledore]' in the subject.
  60. When sending single patches, please using something like:
  61. git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix='meta-perl][mickledore][PATCH'
  62. Layer maintainers: Armin Kuster <akuster808@gmail.com>
  63. License
  64. -------
  65. All metadata is MIT licensed unless otherwise stated. Source code included
  66. in tree for individual recipes is under the LICENSE stated in each recipe
  67. (.bb file) unless otherwise stated.