-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpkgxx.conf.example
118 lines (93 loc) · 3.29 KB
/
pkgxx.conf.example
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
---
-- MAIN CONFIGURATION
---
with context
-- The distribution for which your packages are built.
-- This influences automated packages splitting and naming.
.distribution = "Unknown"
-- The package manager format of the packages you want to produce.
.packageManager = "pkgutils"
-- The tool that will be used to build and update your packages
-- repository. If you need no repository, you can set it to “nil”.
--.repositoryManager = "reprepro"
-- The tool used to fetch and install dependencies before building
-- packages. If none, the .packageManager will be used, if able.
--.dependenciesManager = "apt"
-- Location of the directory in which packages will be stored.
-- If any, the repository will also be built and updated there.
.packagesDirectory = "/srv/pkg"
-- Directory in which the softwares’ sources will be downloaded in
-- and stored.
.sourcesDirectory = "/srv/src"
-- The default verbosity level of pkg++. 1 is the most verbose,
-- 6 is the least verbose.
--.verbosity = 4
-- This tells reprepro the codename of the distribution you are
-- building packages for. If you are not building for dpkg-based
-- distributions, you won’t need this.
--.configuration["distribution-codename"] = "jessie"
-- The name of the “builder” of the packages. Usually, this
-- is the name of the buildbot and the contact email of its
-- maintainer. Used mostly on Alpine.
.builder = "Someone <some@one.example>"
-- The description of your repository, if any. Some kinds of
-- repositories have their descriptions embedded and displayed
-- within their package managers, like apk.
.repositoryDescription = "pkg++ test repository"
-- What compression algorithm to use when building packages,
-- if those packages can have multiple ones.
--.compressionMethod = "gz"
---
-- ENVIRONMENT VARIABLES
---
with environment
.MAKEFLAGS = "-j2"
.CFLAGS = "-O2 -fPIC"
.CXXFLAGS = "#{.CFLAGS}"
.LDFLAGS = ""
---
-- PREFIXES CONFIGURATION
---
--with prefixes
-- .prefix = "/usr"
-- .bindir = "/usr/bin"
-- .sharedir = "/usr/share"
-- .infodir = "/usr/share/info"
-- .mandir = "/usr/share/man"
-- .docdir = "/usr/share/doc"
-- .libdir = "/usr/lib"
-- .libexecdir = "/usr/libexec"
-- .includedir = "/usr/include"
-- .confdir = "/etc"
-- .statedir = "/var"
-- .opt = "/opt"
---
-- EXPERIMENTAL FEATURES
---
--with context
-- This is a list of directories where pkg++ should look for
-- recipes when looking for dependencies.
-- This feature has been implemented as a proof of concept and
-- not maintained since, and is probably broken.
--.repositories = {
-- "/usr/recipes"
--}
-- This defines a “packages collection”. pkg++ will attempt to
-- adapt otherwhise generic recipes to build them in a collection
-- when used with the `-c <name>` switch.
-- This feature has been implemented as a proof of concept and
-- not maintained since, and is probably broken.
--table.insert .collections, {
-- provider: "Username"
-- prefix: "/opt/username-collection"
--}
---
-- SCRIPTING AND OVERLOADING
---
-- It is possible to overload several pkg++ methods from the configuration
-- itself. The following is an example that changes the format of
-- the “info” messages.
--with context
-- .info = (...) =>
-- io.stdout "<info>#{table.concat {...}, " "}</info>"
-- vim: syntax=moon :