Annotation of pkgsrc/doc/guide/files/binary.xml, revision 1.36

1.36    ! rillig      1: <!-- $NetBSD: binary.xml,v 1.35 2016/07/10 07:43:23 rillig Exp $ -->
1.1       grant       2: 
                      3: <chapter id="binary">
                      4:   <title>Creating binary packages</title>
                      5: 
1.13      wiz         6:   <sect1 id="building-a-single-binary-package">
1.1       grant       7:     <title>Building a single binary package</title>
                      8: 
1.25      wiz         9:     <para>Once you have built and installed a package, you can create
                     10:     a <emphasis>binary package</emphasis> which can be installed on
                     11:     another system with &man.pkg.add.1;. This saves having to build
                     12:     the same package on a group of hosts and wasting CPU time. It also
                     13:     provides a simple means for others to install your package, should
                     14:     you distribute it.</para>
                     15: 
                     16:     <para>To create a binary package, change into the appropriate
                     17:     directory in pkgsrc, and run <command>make
                     18:     package</command>:</para>
1.1       grant      19: 
1.35      rillig     20: <screen>
                     21: &uprompt; <userinput>cd misc/figlet</userinput>
                     22: &uprompt; <userinput>make package</userinput>
                     23: </screen>
1.1       grant      24: 
1.36    ! rillig     25:     <para>This will build your package (if not already done) and package
        !            26:     it into a binary package. You can then use the
        !            27:     <command>pkg_*</command> tools to manipulate it. Binary packages are
        !            28:     created in <varname>PACKAGES</varname>, which defaults to
        !            29:     <filename>/usr/pkgsrc/packages</filename>, in the form of a compressed
        !            30:     tar file. See <xref linkend="logs.package"/> for a continuation of
        !            31:     the above <filename role="pkg">misc/figlet</filename>
        !            32:     example.</para>
1.25      wiz        33: 
                     34:     <para>See <xref linkend="submit"/> for information on how to submit
                     35:     such a binary package.</para>
1.1       grant      36:   </sect1>
                     37: 
1.13      wiz        38:   <sect1 id="settings-for-creationg-of-binary-packages">
1.1       grant      39:     <title>Settings for creation of binary packages</title>
                     40: 
                     41:     <para>See <xref linkend="build.helpful-targets"/>.</para>
                     42:   </sect1>
                     43: </chapter>

CVSweb <webmaster@jp.NetBSD.org>