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
d7e813cf
Commit
d7e813cf
authored
Oct 23, 2017
by
xoviat
Committed by
GitHub
Oct 23, 2017
Browse files
ENH: allow omission of .tar.gz
parent
74e38f33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
library_builders.sh
library_builders.sh
+6
-2
No files found.
library_builders.sh
View file @
d7e813cf
...
@@ -57,6 +57,10 @@ function build_simple {
...
@@ -57,6 +57,10 @@ function build_simple {
local
url
=
$3
local
url
=
$3
local
ext
=
${
4
:-
tar
.gz
}
local
ext
=
${
4
:-
tar
.gz
}
local
configure_args
=
${
@
:5
}
local
configure_args
=
${
@
:5
}
if
[[
$ext
==
--
*
]]
;
then
configure_args
=
"
$ext
$configure_args
"
ext
=
".tar.gz"
fi
if
[
-e
"
${
name
}
-stamp"
]
;
then
if
[
-e
"
${
name
}
-stamp"
]
;
then
return
return
fi
fi
...
@@ -177,7 +181,7 @@ function build_libwebp {
...
@@ -177,7 +181,7 @@ function build_libwebp {
build_tiff
build_tiff
build_giflib
build_giflib
build_simple libwebp
$LIBWEBP_VERSION
\
build_simple libwebp
$LIBWEBP_VERSION
\
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/
tar.gz
\
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/
\
--enable-libwebpmux
--enable-libwebpdemux
--enable-libwebpmux
--enable-libwebpdemux
}
}
...
@@ -195,7 +199,7 @@ function build_szip {
...
@@ -195,7 +199,7 @@ function build_szip {
# Build szip without encoding (patent restrictions)
# Build szip without encoding (patent restrictions)
build_zlib
build_zlib
build_simple szip
$SZIP_VERSION
\
build_simple szip
$SZIP_VERSION
\
https://www.hdfgroup.org/ftp/lib-external/szip/
tar.gz
\
https://www.hdfgroup.org/ftp/lib-external/szip/
\
--enable-encoding
=
no
--enable-encoding
=
no
}
}
...
...
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