diff options
author | Chandan Singh <csingh43@bloomberg.net> | 2019-04-24 22:53:19 +0100 |
---|---|---|
committer | Chandan Singh <csingh43@bloomberg.net> | 2019-05-21 12:41:18 +0100 |
commit | 070d053e5cc47e572e9f9e647315082bd7a15c63 (patch) | |
tree | 7fb0fdff52f9b5f8a18ec8fe9c75b661f9e0839e /src/buildstream/plugins/elements/makemaker.yaml | |
parent | 6c59e7901a52be961c2a1b671cf2b30f90bc4d0a (diff) | |
download | buildstream-070d053e5cc47e572e9f9e647315082bd7a15c63.tar.gz |
Move source from 'buildstream' to 'src/buildstream'
This was discussed in #1008.
Fixes #1009.
Diffstat (limited to 'src/buildstream/plugins/elements/makemaker.yaml')
-rw-r--r-- | src/buildstream/plugins/elements/makemaker.yaml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/buildstream/plugins/elements/makemaker.yaml b/src/buildstream/plugins/elements/makemaker.yaml new file mode 100644 index 000000000..c9c4622cb --- /dev/null +++ b/src/buildstream/plugins/elements/makemaker.yaml @@ -0,0 +1,48 @@ +# Default configuration for the Perl ExtUtil::MakeMaker +# 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 Makefile.PL PREFIX=%{install-root}%{prefix} + + make: make + make-install: make install + +config: + + # Commands for configuring the software + # + configure-commands: + - | + %{configure} + + # Commands for building the software + # + build-commands: + - | + %{make} + + # Commands for installing the software into a + # destination folder + # + install-commands: + - | + %{make-install} + + # Commands for stripping debugging information out of + # installed binaries + # + strip-commands: + - | + %{strip-binaries} |