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
Show 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
...
@@ -11,7 +11,7 @@ shared = true
version = 5.26.1
version = 5.26.1
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.bz2
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.bz2
md5sum = 467cd0c43514b9b5e397c8b385581f53
md5sum = 467cd0c43514b9b5e397c8b385581f53
siteprefix = @@
HEAD_LOCATION@@/site_@@TAIL_LOCATION@@
siteprefix = @@
LOCATION@@/site_${:_buildout_section_name_}
patch-options = -p1
patch-options = -p1
patches =
patches =
${:_profile_base_location_}/perl-keep-linker-flags-in-ldflags.patch#4e8e0c59d7176eafb0c7402dea17bef1
${:_profile_base_location_}/perl-keep-linker-flags-in-ldflags.patch#4e8e0c59d7176eafb0c7402dea17bef1
...
@@ -68,6 +68,7 @@ perl-bin = ${:perl-PATH}/perl
...
@@ -68,6 +68,7 @@ perl-bin = ${:perl-PATH}/perl
# Implementation
# Implementation
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
url = https://www.cpan.org/modules/by-module/${:module}-${:version}.tar.gz
url = https://www.cpan.org/modules/by-module/${:module}-${:version}.tar.gz
configure-command =
configure-command =
PERL5LIB="${:inc}:${:install-inc}" \
PERL5LIB="${:inc}:${:install-inc}" \
...
@@ -75,7 +76,7 @@ configure-command =
...
@@ -75,7 +76,7 @@ configure-command =
Makefile.PL \
Makefile.PL \
PREFIX=${:location} \
PREFIX=${:location} \
${:extra-configure-args}
${:extra-configure-args}
location =
${buildout:parts-directory}/${:_buildout_section_name_}
location =
@@LOCATION@@
# Install scripts in "perl-bin", but create wrappers in ./bin/
# Install scripts in "perl-bin", but create wrappers in ./bin/
make-options =
make-options =
INSTALLSITESCRIPT=${:location}/perl-bin/
INSTALLSITESCRIPT=${:location}/perl-bin/
...
@@ -83,13 +84,10 @@ make-options =
...
@@ -83,13 +84,10 @@ make-options =
make-binary=
make-binary=
PERL5LIB="${:inc}:${:install-inc}" make
PERL5LIB="${:inc}:${:install-inc}" make
post-make-hook = ${perl-CPAN-post-make-hook:post-make-hook}
# this post-make-hook is same for all users of the macro.
p
erl_location = ${perl:location}
p
ost-make-hook = ${:_profile_base_location_}/../../component/perl/perl-CPAN-package-create-wrapper.py#f9314defc3b144d9f36f8cab2a013af9:post_make_hook
[perl-CPAN-post-make-hook]
perl_location = ${perl:location}
# 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-wrapper]
[perl-wrapper]
...
@@ -119,4 +117,3 @@ template = inline:
...
@@ -119,4 +117,3 @@ template = inline:
mode = 0755
mode = 0755
rendered = ${buildout:bin-directory}/${:_buildout_section_name_}
rendered = ${buildout:bin-directory}/${:_buildout_section_name_}
perl-bin = ${:rendered}
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