Changes between Version 3 and Version 4 of HaikuPorterForPM/HandlingRequirements
- Timestamp:
- 06/13/13 13:20:32 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HaikuPorterForPM/HandlingRequirements
v3 v4 4 4 5 5 In order to avoid any built packages to unexpectedly depend on software that happens to be installed on the build host (i.e. you Haiku installation), !HaikuPorter runs the build commands in a `chroot()`-ed environment. When !HaikuPorter creates the chroot, it populates it with only the packages that are needed by the shell scriptlets that are executing the different build phases. Anything else that is required for building or running the port has to be declared explicitly in the build recipe of each port. 6 7 == Provides == 8 9 Each package must declare what it provides. This can be commands, libraries, virtual entities, etc., but must include an entity matching the package name (as it provides the entity representing that package). 10 11 The provides must be added to the `PROVIDES` variable in the build recipe. More details on declaring provides can be found in [https://dev.haiku-os.org/wiki/PackageManagement/PackagingPolicy#ProvidesDeclaration the provides section of the packaging policy]. 6 12 7 13 == Requires ==
