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.