/
build_example.conf
53 lines (45 loc) · 1.71 KB
/
build_example.conf
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
[config]
# mandatory: the name of the app
app="bind"
# mandatory: the version
version="9.10.4-P6"
# some additional vars
openssl_version="1.0.2j"
# build_path: this is the path where all the source gets compiled
#build_path="/tmp/build"
# where the app will be installed
# you can use macros from the variables above like %version
# for macros always use: %<variable>
# mandatory
install_path="/usr/local/bind/%version"
# the url where to download the source
url="https://www.isc.org/downloads/file/%version/la_%version/bind-9.10.4-p6/?version=tar-gz"
# the archive type of the source
# types: tar, tgz, gz, Z, zip, bz2, tbz, lzma
# mandatory
archive_type="tgz"
# if the build_script option is used the "build_opts", "make" and "install" will not be used, but can still be used at macros in build_script
# in the build script you can use any macro (%version, %app, %url, %build_opts)
# the script has to be executable and should be a bash script
# specify the full path to it
#build_script="/tmp/test.sh"
# requirements the build process needs
# specify package names
build_requirements="cmake libncurses-dev"
# prebuild command
# this command will be run before build_opts are run
prebuild_command="patch -p < somepatch"
# the configure options
# add the full command to run
build_opts="./configure --enable-ipv6 --with-ecdsa --with-openssl=/usr/local/openssl/current --prefix=/usr/local/bind/%version --enable-rrl"
# the make command to use
make="make"
# the install command to use
install="make install"
# post build actions
# this command will be run after make install was successful
postbuild_command="ln -s something"
# keep build directory
# the build directory and logs will be kept
# even when the build was successful
keep_build=true