summaryrefslogtreecommitdiffstats
path: root/man/opkbuild.1.in
blob: fa075453ed1ca5873f3ef2f11367d8e849d27d08 (plain)
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
.\" Author: Patrick "P. J." McDermott
.TH opkbuild 1 \
"2012-05-22" "@@PACKAGE@@-@@VERSION@@" "opkg Build Helper Tools"

.SH NAME
opkbuild \- Build opkg packages.

.SH SYNOPSIS
.B opkbuild
.RB [ -S | -b ]
.RB [ -r
.IR assume-uid0-cmd ]
.RB [ -a
.IR host-architecture ]
.RB [ -p
.IR host-platform ]
.RB [ -s
.IR status-override ]
.RB [ -d ]

.SH DESCRIPTION
.B opkbuild
builds binary packages from a source package.

.SH OPTIONS
.TP
.BI \-S
Build only the source package (no binary packages).
.TP
.BI \-b
Build only the binary packages (no source package).
.TP
.BI \-r \ assume-uid0-cmd
Assume user ID 0 using the specified command (default is
.BR fakeroot ).
.TP
.BI \-a \ host-architecture
The distribution architecture for which architecture-dependent packages should
be built (default is the architecture
.B opkg
is configured to install).
.TP
.BI \-p \ host-platform
The application platform for which platform-specific packages should be
configured (default is the platform
.B opkg
is configured to install).
.TP
.BI \-s \ status-override
A path to a file with a list of package names and versions to override that
reported by
.BR opkg .
See
.B oh-checkbuilddeps(1)
for the syntax of this file.
.TP
.BI \-d
Start a debugging shell if the package build fails.
.TP
.BI \-V
Output version information and exit.

.SH COPYRIGHT
Copyright (C) 2012 Patrick "P. J." McDermott
.sp
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
.sp
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
.sp
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.