Every package, no matter which package LIBFOO_TYPE is defined, can
create a post-processing script to invoke after a package has completed
an installation stage. The existence of a
<package>-post inside a
package directory will trigger the post-processing stage for the package.
An example post-processing script for a package
libfoo would be named
└── my-releng-tool-project/ ├── package/ │ └── libfoo/ │ └── libfoo │ └── libfoo-post <---- ...
With the contents of
libfoo-post being set to:
print('perform post-processing work')
May generate an output such as follows:
$ releng-tool libfoo patching libfoo... configuring libfoo... building libfoo... installing libfoo... perform post-processing work
Post-processing scripts for a package are optional. If no post-processing script is provided for a package, no post-processing stage will be performed for the package.