Creating binary packages
Building a single binary package
Once you have built and installed a package, you can create
a binary package which can be installed on
another system with &man.pkg.add.1;. This saves having to build
the same package on a group of hosts and wasting CPU time. It also
provides a simple means for others to install your package, should
you distribute it.
To create a binary package, change into the appropriate
directory in pkgsrc, and run make
package:
&uprompt; cd misc/figlet
&uprompt; make package
This will build and install your package (if not already done),
and then build a binary package from what was installed. You can
then use the pkg_* tools to manipulate
it. Binary packages are created by default in
/usr/pkgsrc/packages, in the form of a
gzipped tar file. See for a
continuation of the above misc/figlet example.
See for information on how to submit
such a binary package.
Settings for creation of binary packages
See .