xbps/bin/xbps-create/xbps-create.8

97 lines
3.2 KiB
Groff
Raw Normal View History

2014-04-21 10:58:09 +02:00
.Dd April 21, 2014
2012-11-06 09:55:56 +01:00
.Os Void Linux
2012-10-02 10:14:20 +02:00
.Dt xbps-create 8
.Sh NAME
.Nm xbps-create
2012-11-05 09:39:10 +01:00
.Nd XBPS utility to create binary packages
2012-10-02 10:14:20 +02:00
.Sh SYNOPSYS
.Nm xbps-create
2012-11-05 09:39:10 +01:00
.Op OPTIONS
2012-10-02 10:14:20 +02:00
.Ar destdir
.Sh DESCRIPTION
The
.Nm
2012-11-05 09:39:10 +01:00
utility creates XBPS binary packages from files stored in a directory.
2012-10-02 10:14:20 +02:00
The files must have correct permissions and location within this directory.
The behaviour of resulting package is changed by using multiple values in
the options.
.Sh OPTIONS
2012-11-06 10:33:29 +01:00
.Bl -tag -width -x
2012-11-05 09:39:10 +01:00
.It Fl A, Fl -architecture Ar string
2012-10-02 10:14:20 +02:00
The target architecture for this package (required). Use
.Ar noarch
if package doesn't contain any arch-dependent file.
2012-11-05 09:39:10 +01:00
.It Fl B, Fl -built-with Ar string
2012-10-02 10:14:20 +02:00
The package builder string, free form.
2012-11-05 09:39:10 +01:00
.It Fl C, Fl -conflicts Ar list
2012-10-02 10:14:20 +02:00
A list of package patterns that this package should conflict with, separated
by a single blank. Example:
.Ar 'foo>=1.0 blah<1.0' .
2012-11-05 09:39:10 +01:00
.It Fl D, Fl -dependencies Ar list
2012-10-02 10:14:20 +02:00
A list of package patterns this package depends on, separated by a single
blank. Example:
.Ar 'foo>=1.0 blah-1.0_1' .
2012-11-05 09:39:10 +01:00
.It Fl F, Fl -config-files Ar list
2012-10-02 10:14:20 +02:00
A list of configuration files this package provides, separated by a single
blank.
.It Fl G, Fl --source-revisions Ar string
This justs sets a string with the git revisions of the sourcepkg that
was used to build this binary package. It is set automatically by xbps-src.
2012-11-05 09:39:10 +01:00
.It Fl H, Fl -homepage Ar string
2012-10-02 10:14:20 +02:00
The package homepage string.
2012-11-05 09:39:10 +01:00
.It Fl h, Fl -help
2012-10-02 10:14:20 +02:00
Show help message.
2012-11-05 09:39:10 +01:00
.It Fl l, Fl -license Ar string
2012-10-02 10:14:20 +02:00
The package license.
2012-11-05 09:39:10 +01:00
.It Fl M, Fl -mutable-files Ar list
2012-10-02 10:14:20 +02:00
A list of mutable files this package provides, separated by a single blank.
2012-11-05 09:39:10 +01:00
.It Fl m, Fl -maintainer Ar string
2012-10-02 10:14:20 +02:00
The package maintainer name and/or email contact.
2012-11-05 09:39:10 +01:00
.It Fl n, Fl -pkgver Ar string
2012-10-02 10:14:20 +02:00
The package name/version tuple, e.g:
.Ar 'foo-1.0_1' .
2012-11-05 09:39:10 +01:00
.It Fl P, Fl -provides Ar list
2012-10-02 10:14:20 +02:00
A list of virtual packages this package provides, separated by a single blank. Example:
.Ar 'virtualpkg-9999 virtualpkg2-1.0_1' .
2012-11-05 09:39:10 +01:00
.It Fl p, Fl -preserve
2012-10-02 10:14:20 +02:00
If set the package files will be preserved after being updated.
2012-11-05 09:39:10 +01:00
.It Fl q, Fl -quiet
2012-10-02 10:14:20 +02:00
Enable quiet operation.
2012-11-05 09:39:10 +01:00
.It Fl R, Fl -replaces Ar list
2012-10-02 10:14:20 +02:00
A list of package patterns this package replaces, separated by a single blank. Example:
.Ar 'foo>=1.0 blah>=2.0' .
2012-11-05 09:39:10 +01:00
.It Fl S, Fl -long-desc Ar string
2012-10-02 10:14:20 +02:00
A long description for this package.
2012-11-05 09:39:10 +01:00
.It Fl s, Fl -desc Ar string
2012-10-02 10:14:20 +02:00
A short description for this package, one line with less than 80 characters.
2012-11-05 09:39:10 +01:00
.It Fl V, Fl -version
2012-10-02 10:14:20 +02:00
Shows the XBPS version.
.It Fl -build-options Ar string
A string containing the build options used in package.
.It Fl -compression Ar gzip | bzip2 | xz
Set the binary package compression format. If unset, defaults to
.Ar xz .
.It Fl -shlib-provides Ar list
A list of provided shared libraries, separated by a single blank. Example:
.Ar 'libfoo.so.2 libblah.so.1' .
.It Fl -shlib-requires Ar list
A list of required shared libraries, separated by a single blank. Example:
.Ar 'libz.so.1 libfoo.so.2' .
2012-10-02 10:14:20 +02:00
.Sh SEE ALSO
.Xr xbps-checkvers 8 ,
2012-11-05 09:57:52 +01:00
.Xr xbps-dgraph 8 ,
.Xr xbps-install 8 ,
.Xr xbps-pkgdb 8 ,
.Xr xbps-query 8 ,
.Xr xbps-reconfigure 8 ,
.Xr xbps-remove 8 ,
2014-04-21 10:58:09 +02:00
.Xr xbps-rindex 8 ,
.Xr xbps-uchroot 8
2012-10-02 10:14:20 +02:00
.Sh AUTHORS
.An Juan Romero Pardines <xtraeme@gmail.com>
.Sh BUGS
Probably, but I try to make this not happen. Use it under your own
responsability and enjoy your life.
.Pp
2013-12-17 15:38:56 +01:00
Report bugs in https://github.com/voidlinux/xbps/issues