diff --git a/bin/xbps-create/Makefile b/bin/xbps-create/Makefile index 1e9fd5e0..43ac72b6 100644 --- a/bin/xbps-create/Makefile +++ b/bin/xbps-create/Makefile @@ -2,5 +2,6 @@ TOPDIR = ../.. -include $(TOPDIR)/config.mk BIN = xbps-create +MAN = $(BIN).8 include $(TOPDIR)/mk/prog.mk diff --git a/bin/xbps-create/xbps-create.8 b/bin/xbps-create/xbps-create.8 new file mode 100644 index 00000000..b151230d --- /dev/null +++ b/bin/xbps-create/xbps-create.8 @@ -0,0 +1,76 @@ +.Dd October 2, 2012 +.Os Void GNU/Linux +.Dt xbps-create 8 +.Sh NAME +.Nm xbps-create +.Nd XBPS command to create binary packages +.Sh SYNOPSYS +.Nm xbps-create +.Op options +.Ar destdir +.Sh DESCRIPTION +The +.Nm +command creates XBPS binary packages from files stored in a directory. +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 +.Bl -tag -width Fl +.It Fl A Fl -architecture Ar string +The target architecture for this package (required). Use +.Ar noarch +if package doesn't contain any arch-dependent file. +.It Fl B Fl -built-with Ar string +The package builder string, free form. +.It Fl C Fl -conflicts Ar list +A list of package patterns that this package should conflict with, separated +by a single blank. Example: +.Ar 'foo>=1.0 blah<1.0' . +.It Fl D Fl -dependencies Ar list +A list of package patterns this package depends on, separated by a single +blank. Example: +.Ar 'foo>=1.0 blah-1.0_1' . +.It Fl F Fl -config-files Ar list +A list of configuration files this package provides, separated by a single +blank. +.It Fl H Fl -homepage Ar string +The package homepage string. +.It Fl h Fl -help +Show help message. +.It Fl l Fl -license Ar string +The package license. +.It Fl M Fl -mutable-files Ar list +A list of mutable files this package provides, separated by a single blank. +.It Fl m Fl -maintainer Ar string +The package maintainer name and/or email contact. +.It Fl n Fl -pkgver Ar string +The package name/version tuple, e.g: +.Ar 'foo-1.0_1' . +.It Fl P Fl -provides Ar list +A list of virtual packages this package provides, separated by a single blank. Example: +.Ar 'virtualpkg-9999 virtualpkg2-1.0_1' . +.It Fl p Fl -preserve +If set the package files will be preserved after being updated. +.It Fl q Fl -quiet +Enable quiet operation. +.It Fl R Fl -replaces Ar list +A list of package patterns this package replaces, separated by a single blank. Example: +.Ar 'foo>=1.0 blah>=2.0' . +.It Fl S Fl -long-desc Ar string +A long description for this package. +.It Fl s Fl -desc Ar string +A short description for this package, one line with less than 80 characters. +.It Fl V Fl -version +Shows the XBPS version. +.Sh SEE ALSO +.Xr xbps-bin 8 , +.Xr xbps-repo 8 , +.Xr http://code.google.com/p/xbps +.Sh AUTHORS +.An Juan Romero Pardines +.Sh BUGS +Probably, but I try to make this not happen. Use it under your own +responsability and enjoy your life. +.Pp +Report bugs in http://code.google.com/p/xbps.