Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
b8fe634b
Commit
b8fe634b
authored
May 26, 2018
by
Andrew Murray
Browse files
Simplified build_openjpeg by using fetch_unpack output
parent
f1bcb198
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
library_builders.sh
library_builders.sh
+2
-4
No files found.
library_builders.sh
View file @
b8fe634b
...
...
@@ -169,13 +169,11 @@ function build_openjpeg {
build_lcms2
local
cmake
=
$(
get_cmake
)
local
archive_prefix
=
"v"
local
directory_prefix
=
"openjpeg-"
if
[
$(
lex_ver
$OPENJPEG_VERSION
)
-lt
$(
lex_ver 2.1.1
)
]
;
then
archive_prefix
=
"version."
directory_prefix
=
"openjpeg-version."
fi
fetch_unpack https://github.com/uclouvain/openjpeg/archive/
${
archive_prefix
}${
OPENJPEG_VERSION
}
.tar.gz
(
cd
$
{
directory_prefix
}${
OPENJPEG_VERSION
}
\
local
out_dir
=
$(
fetch_unpack https://github.com/uclouvain/openjpeg/archive/
${
archive_prefix
}${
OPENJPEG_VERSION
}
.tar.gz
)
(
cd
$
out_dir
\
&&
$cmake
-DCMAKE_INSTALL_PREFIX
=
$BUILD_PREFIX
.
\
&&
make
install
)
touch
openjpeg-stamp
...
...
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