Ebuild writing
This section describes how to write an ebuild. It covers the basic format of an ebuild and the variables and functions available, and finishes off with some general notes and extended examples.
Contents
- Ebuild file format
- EAPI usage and description
- USE flag conditional code
- Error handling
- Users and groups
- Messages
- Variables
- Using eclasses
- Ebuild phase functions
- Miscellaneous files
- User-submitted ebuilds
- Common mistakes