Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos
Commits
ac8dfa30
Commit
ac8dfa30
authored
Jun 28, 2018
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perl: shared build
parent
2f2703d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
component/perl/buildout.cfg
component/perl/buildout.cfg
+6
-9
No files found.
component/perl/buildout.cfg
View file @
ac8dfa30
...
...
@@ -11,7 +11,7 @@ shared = true
version = 5.26.1
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.bz2
md5sum = 467cd0c43514b9b5e397c8b385581f53
siteprefix = @@
HEAD_LOCATION@@/site_@@TAIL_LOCATION@@
siteprefix = @@
LOCATION@@/site_${:_buildout_section_name_}
patch-options = -p1
patches =
${:_profile_base_location_}/perl-keep-linker-flags-in-ldflags.patch#4e8e0c59d7176eafb0c7402dea17bef1
...
...
@@ -68,6 +68,7 @@ perl-bin = ${:perl-PATH}/perl
# Implementation
recipe = slapos.recipe.cmmi
shared = true
url = https://www.cpan.org/modules/by-module/${:module}-${:version}.tar.gz
configure-command =
PERL5LIB="${:inc}:${:install-inc}" \
...
...
@@ -75,7 +76,7 @@ configure-command =
Makefile.PL \
PREFIX=${:location} \
${:extra-configure-args}
location =
${buildout:parts-directory}/${:_buildout_section_name_}
location =
@@LOCATION@@
# Install scripts in "perl-bin", but create wrappers in ./bin/
make-options =
INSTALLSITESCRIPT=${:location}/perl-bin/
...
...
@@ -83,13 +84,10 @@ make-options =
make-binary=
PERL5LIB="${:inc}:${:install-inc}" make
post-make-hook = ${perl-CPAN-post-make-hook:post-make-hook}
p
erl_location = ${perl:location}
# this post-make-hook is same for all users of the macro.
p
ost-make-hook = ${:_profile_base_location_}/../../component/perl/perl-CPAN-package-create-wrapper.py#f9314defc3b144d9f36f8cab2a013af9:post_make_hook
[perl-CPAN-post-make-hook]
# a separate section, because when using in macro, we want this
# _profile_base_location_ to be relateive to perl/buildout.cfg
post-make-hook = ${:_profile_base_location_}/perl-CPAN-package-create-wrapper.py#f9314defc3b144d9f36f8cab2a013af9:post_make_hook
perl_location = ${perl:location}
[perl-wrapper]
...
...
@@ -119,4 +117,3 @@ template = inline:
mode = 0755
rendered = ${buildout:bin-directory}/${:_buildout_section_name_}
perl-bin = ${:rendered}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment