summaryrefslogtreecommitdiffstats
path: root/examples/packages/example_1/pkg.toml
blob: 1d206c1cc3c56b30e4611a5049cbf556892b48c7 (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
# root package definition

# We only use semver here
version_is_semver = true

# environment which is automatically inherited to all other packages
# but can also be overridden in the other packages
environment.FOO = "bar"
environment.BAZ = "bla"

# no patches by default
patches = []

[dependencies]
system  = []
system_dep_script = ""
build   = []
build_dep_script = ""
runtime = []
script = ""

# Root description of phases
# can be overridden as well
[phases]

unpack.script = '''
    echo UnpackPhase
'''

build.script = '''
    echo BuildPhase
'''

install.script = '''
    echo InstallPhase
'''

package.script = '''
    echo PackagePhase
'''