aboutsummaryrefslogtreecommitdiff
path: root/man/man5/apkg.conf.5
blob: e4bb96d741ef578a3b5ce158d2cfac4857e02ffb (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
78
79
80
81
82
83
84
85
86
.\" -*- mode: troff; coding: utf-8 -*-
.TH "" "5" ""
.SH NAME
It resides by default under \f(CR/etc\fR in an alice linux installation.
The contents are sourced by the \fBapkg\fR program and are in the posix shell \f(CRkey=\(dqvalue\(dq\fR format.
.SH CONFIGURATION KEYS
.IP "\(bu" 3
\f(CRAPKG_NOPROMPT\fR       If set, it enables non-interactive use by disabling user confirmation prompt.
.if n \
.sp -1
.if t \
.sp -0.25v
.IP "\(bu" 3
\f(CRAPKG_PACKAGE_DIR\fR        Directory where the compiled packages will reside.
.if n \
.sp -1
.if t \
.sp -0.25v
.IP "\(bu" 3
\f(CRAPKG_SOURCE_DIR\fR     Directory that will hold the downloaded sources.
.if n \
.sp -1
.if t \
.sp -0.25v
.IP "\(bu" 3
\f(CRAPKG_WORK_DIR\fR           Directory where the actual building process will take place. This happens in subdirectories which are cleaned after completion.
.if n \
.sp -1
.if t \
.sp -0.25v
.IP "\(bu" 3
\f(CRAPKG_LOG\fR        If set, it enables the creation of a log for the program output.
.if n \
.sp -1
.if t \
.sp -0.25v
.IP "\(bu" 3
\f(CRexport CFLAGS=\(dq<cflags>\(dq\fR Default  are \fI-O3 -march=x86-64 -pipe\fR
.if n \
.sp -1
.if t \
.sp -0.25v
.IP "\(bu" 3
\f(CRexport CXXFLAGS=\(dq$CFLAGS\(dq\fR
.if n \
.sp -1
.if t \
.sp -0.25v
.IP "\(bu" 3
\f(CRexport NINJAJOBS=\(dq<-x>\(dq\fR Replace <-x> with the number of jobs the ninja build system with use. Without this it will use the maximum amount of threads the processor suports.
.if n \
.sp -1
.if t \
.sp -0.25v
.IP "\(bu" 3
\f(CRexport MAKEFLAGS=\(dq-jx\(dq\fR  Replace  with the number of jobs the make build system with use.
.LP
EXAMPLES
.LP
.EX
### example of a valid apkg.conf ### 
export CFLAGS=\(dq-O3 -march=x86-64 -pipe\(dq
export CXXFLAGS=\(dq$CFLAGS\(dq
export MAKEFLAGS=\(dq-j12\(dq
export NINJAJOBS=\(dq12\(dq
APKG_REPO=\(dq/var/lib/alicelinux/repos/core /var/lib/alicelinux/repos/extra /var/lib/alicelinux/repos/xorg /var/lib/alicelinux/repos/wayland\(dq
APKG_PACKAGE_DIR=/var/cache/pkg
APKG_SOURCE_DIR=/var/cache/src
APKG_WORK_DIR=/var/cache/work
.EE
.SH AUTHORS
.LP
emmett1 \c
.MT emmett1.2miligrams@protonmail.com
.ME
Author of the program and creator of alice linux.
.PP
mobinmob \c
.MT mobinmob@disroot.org
.ME
Author of the man page.
.SH REPORTING BUGS
.LP
\fBapkg\fR is in a working stage but also under heavy development. Please report and bugs/issues in the project issue tracker: \c
.UR https://codeberg.org/emmett1/autils/issues
.UE