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
Matevz Golob
slapos
Commits
486e3892
Commit
486e3892
authored
Jul 26, 2019
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/bzip2: Vesion up to 1.0.8
parent
b8e927cc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
component/bzip2/buildout.cfg
component/bzip2/buildout.cfg
+3
-3
component/bzip2/bzip2-hooks.py
component/bzip2/bzip2-hooks.py
+1
-1
No files found.
component/bzip2/buildout.cfg
View file @
486e3892
...
@@ -5,10 +5,10 @@ parts =
...
@@ -5,10 +5,10 @@ parts =
[bzip2]
[bzip2]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://fossies.org/linux/misc/bzip2-1.0.
6
.tar.gz
url = https://fossies.org/linux/misc/bzip2-1.0.
8
.tar.gz
md5sum =
00b516f4704d4a7cb50a1d97e6e8e15b
md5sum =
67e051268d0c475ea773822f7500d0e5
configure-command = true
configure-command = true
make-options =
make-options =
PREFIX=@@LOCATION@@
PREFIX=@@LOCATION@@
CFLAGS="-fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64"
CFLAGS="-fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64"
post-make-hook = ${:_profile_base_location_}/bzip2-hooks.py#
066c8355b7d726f30176ea5b6a35e1a2
:post_make_hook
post-make-hook = ${:_profile_base_location_}/bzip2-hooks.py#
785148a77f1a8456d914aa02ddf9d410
:post_make_hook
component/bzip2/bzip2-hooks.py
View file @
486e3892
...
@@ -4,7 +4,7 @@ def post_make_hook(options, buildout):
...
@@ -4,7 +4,7 @@ def post_make_hook(options, buildout):
make_options_list
=
[
q
for
q
in
options
.
get
(
'make-options'
,
''
).
split
(
'
\
n
'
)
if
q
]
make_options_list
=
[
q
for
q
in
options
.
get
(
'make-options'
,
''
).
split
(
'
\
n
'
)
if
q
]
if
os
.
system
(
'make %s -f Makefile-libbz2_so'
%
' '
.
join
(
make_options_list
))
!=
0
:
if
os
.
system
(
'make %s -f Makefile-libbz2_so'
%
' '
.
join
(
make_options_list
))
!=
0
:
raise
ValueError
(
'Generation of dynamic library failed'
)
raise
ValueError
(
'Generation of dynamic library failed'
)
original
=
'libbz2.so.1.0.
6
'
original
=
'libbz2.so.1.0.
8
'
link_list
=
[
'libbz2.so.1.0'
,
'libbz2.so.1'
,
'libbz2.so'
]
link_list
=
[
'libbz2.so.1.0'
,
'libbz2.so.1'
,
'libbz2.so'
]
destination
=
os
.
path
.
join
(
options
[
'location'
],
'lib'
)
destination
=
os
.
path
.
join
(
options
[
'location'
],
'lib'
)
for
filename
in
[
original
]
+
link_list
:
for
filename
in
[
original
]
+
link_list
:
...
...
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