-
Notifications
You must be signed in to change notification settings - Fork 17
/
xdeb.1
125 lines (88 loc) · 2.24 KB
/
xdeb.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
.TH xdeb 1
.SH NAME
xdeb - Convert deb (Debian) packages to xbps (Void Linux)
.SH SYNOPSIS
xdeb [OPTION]... [FILE]
.SH DESCRIPTION
xdeb converts .deb packages into the .xbps format. It does so by extracting the
deb file, parsing metadata and rebuilding the package using xbps cli tools. By
default, xdeb merely passes the package name, version and architecture. Certain
commandline options may enable a vast amount of additional features, such as
automatic dependency resolution.
.SH OPTIONS
.B \-d
Automatically try to figure out which dependencies the .deb package needs
.B \-S
Download the dependency file needed for the
.BR \-d
flag
.B \-c
Remove generated files except shlibs and binpkgs/
.B \-r
Remove the repodata file
.B \-q
Extract only, quit before building
.B \-C
Remove all generated files
.B \-b
Build without extracting, doesn't require FILE argument
.B \-e
Remove empty directories from the package
.B \-m
Add the suffix
.BR -32bit
to the package name
.B \-i
Do not warn about conflicting files
.B \-f
Attempt to automatically fix conflicting files (enabled by default)
.B \-F
Don't attempt to automatically fix conflicting files
.B \-I
Automatically install after building
.B \-\-deps=...
Manually specify package dependencies
.B \-\-not\-\-deps=...
Manually specify package that shall never be used as dependencies. Dependencies added with
.B \-\-deps
will be used regardless.
.B \-\-arch=...
Manually specify the target arch
.B \-\-name=...
Manually specify the output name
.B \-\-version=...
Manually specify the output version
.B \-\-revision=...,\-\-rev=...
Manually specify the package revision
.B \-\-post\-extract=...
File to read post-extract commands from
.B \-h,\-\-help
Show the help page
.SH ENVIRONMENT VARIABLES
In addition the the options, the following environment variables are supported
by xdeb:
.SS Paths
.B XDEB_PKGROOT
Parent directory for default values of
.BR XDEB_WORKDIR ,
.BR XDEB_DESTDIR ,
.BR XDEB_DATADIR ,
.BR XDEB_BINPKGS
and
.BR XDEB_SHLIB
.B XDEB_WORKDIR
.B XDEB_DESTDIR
.B XDEB_DATADIR
.B XDEB_BINPKGS
.B XDEB_SHLIBS
.SS Options
XDEB_OPT_DEPS
XDEB_OPT_SYNC
XDEB_OPT_QUIT
XDEB_OPT_EXTRACT
XDEB_OPT_CLEAN_DIR
XDEB_OPT_FIX_CONFLICT
XDEB_OPT_WARN_CONFLICT
.SH SEE ALSO
.BR xbps-install(1)
.BR xbps-query(1)