blob: 18f034bab2250362ec42c2c49425d09102b81284 (
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
|
# Default configuration for the Perl Module::Build
# build system.
variables:
# To install perl distributions into the correct location
# in our chroot we need to set PREFIX to <destdir>/<prefix>
# in the configure-commands.
#
# The mapping between PREFIX and the final installation
# directories is complex and depends upon the configuration
# of perl see,
# https://metacpan.org/pod/distribution/perl/INSTALL#Installation-Directories
# and ExtUtil::MakeMaker's documentation for more details.
configure: |
perl Build.PL --prefix "%{install-root}%{prefix}"
perl-build: ./Build
perl-install: ./Build install
config:
# Commands for configuring the software
#
configure-commands:
- |
%{configure}
# Commands for building the software
#
build-commands:
- |
%{perl-build}
# Commands for installing the software into a
# destination folder
#
install-commands:
- |
%{perl-install}
# Commands for stripping debugging information out of
# installed binaries
#
strip-commands:
- |
%{strip-binaries}
|