Changes between Version 10 and Version 11 of HaikuPorterForPM/BuildRecipes
- Timestamp:
- 07/15/13 08:26:28 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HaikuPorterForPM/BuildRecipes
v10 v11 32 32 - '''$dataDir:''' The absolute directory for data. 33 33 - '''$dataRootDir:''' The absolute base directory for data. On Haiku, this is the same as `$dataDir`. 34 - '''$debugInfoDir:''' The absolute path to the directory for debug info files. 34 35 - '''$developDir:''' The absolute path to the directory underneath of which all development-related files should be put. 35 36 - '''$developDocDir:''' The absolute base directory for development-related documentation specific to the port being built. Documentation in html- or pdf-format should be put here, manpages should be put into `$manDir`. … … 40 41 - '''$haikuVersion:''' The version of Haiku for which the port is being built. 41 42 - '''$includeDir:''' The absolute directory for header files 42 - '''$infoDir:''' The absolute directory for documentation in `info`-format (which is frowned upon by Haiku ports) 43 - '''$infoDir:''' The absolute directory for documentation in `info`-format (which is frowned upon by Haiku ports). 44 - '''$installDestDir:''' An absolute path that shall be prepended to all absolute installation paths (when they are dereferenced, i.e. usually only in the 'INSTALL' function) and should be set as the 'DESTDIR' for 'make install'. This only needs to be done in the !HaikuPorts cross building repository. 43 45 - '''$isCrossRepository:''' Is `true` if the ports tree being used is the one dealing with cross-building the bootstrap packages. 44 46 - '''$jobArgs:''' If !HaikuPorter has been invoked with `--jobs=<num>`, this contains the job-number specification applicable to make (i.e. `-j<num>`) … … 66 68 - '''$relativeDataDir:''' `$dataDir` as a relative directory (to `prefix`). 67 69 - '''$relativeDataRootDir:''' `$dataRootDir` as a relative directory (to `prefix`). 70 - '''$relativDebugInfoDir:''' `$debugInfoDir` as a relative directory (to `prefix`). 68 71 - '''$relativeDevelopDir:''' `$developDir` as a relative directory (to `prefix`). 69 72 - '''$relativeDevelopDocDir:''' `$developDocDir` as a relative directory (to `prefix`). … … 118 121 - '''appPath:''' The absolute path to the application executable. 119 122 - '''entryName:''' The name of the application as it shall appear in the Deskbar. Can be omitted, in which case the file name of the application executable is used. 123 124 ==== defineDebugInfoPackage() ==== 125 126 usage:: `defineDebugInfoPackage [ --directory <toDirectory> ] <basePackageName> <path> ...` 127 purpose:: Defines a debug info package for another package. Must be invoked at top level (i.e. not in one of the action functions). The specified base package contains the specified files from which debug infos shall be extracted. At the end of the installation phase (i.e. after 'INSTALL' returns) the debug infos are extracted into separate files and moved into a respective debug info package. 128 params:: 129 - '''toDirectory:''' The path to the directory where the debug info files shall be placed. The default is '$debugInfoDir'. 130 - '''basePackageName:''' The name of the base package the files belong to. This also defines the name of the debug info package ('<basePackageName>_debuginfo') and its dependency. 131 - '''path:''' The path to a file from which the debug info shall be extracted. An arbitrary number of files can be specified. 132 133 ==== extractDebugInfo() ==== 134 135 usage:: `extractDebugInfo <path> <debugInfoPath>` 136 purpose:: Extracts the debug info from a file into a debug info file. 137 params:: 138 - '''path:''' The path to the file from which to extract the debug info. 139 - '''debugInfoPath:''' The path of the to-be-created debug info file. The containing directory (and all missing ancestor directories) are created, if necessary. 120 140 121 141 ==== fixDevelopLibDirReferences() ====
