Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
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
Boris Kocherov
onlyoffice_core
Commits
93991cfa
Commit
93991cfa
authored
Jul 14, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fetch & build boost mac
parent
ff835906
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
Common/3dParty/boost/fetch.sh
Common/3dParty/boost/fetch.sh
+26
-0
No files found.
Common/3dParty/boost/fetch.sh
100644 → 100755
View file @
93991cfa
...
...
@@ -3,6 +3,25 @@
SCRIPT
=
$(
readlink
-f
"
$0
"
)
SCRIPTPATH
=
$(
dirname
"
$SCRIPT
"
)
os
=
$(
uname
-s
)
platform
=
""
case
"
$os
"
in
Linux
*
)
platform
=
"linux"
;;
Darwin
*
)
platform
=
"mac"
;;
*
)
exit
;;
esac
if
[[
"
$platform
"
==
*
"mac"
*
]]
then
if
[[
-f
"
$SCRIPTPATH
/7zX_1.7.1.dmg"
]]
then
echo
"7z already downloaded"
else
wget http://static.updatestar.net/dl/7zX/7zX_1.7.1.dmg
fi
fi
if
[[
-f
"
$SCRIPTPATH
/boost_1_58_0.7z"
]]
then
echo
"boost already downloaded"
...
...
@@ -13,5 +32,12 @@ fi
if
[
-d
"
$SCRIPTPATH
/boost"
]
;
then
echo
"boost already extracted"
else
if
[[
"
$platform
"
==
*
"linux"
*
]]
then
7z x
"
$SCRIPTPATH
/boost_1_58_0.7z"
-o
"
$SCRIPTPATH
/"
else
hdiutil mount
"
$SCRIPTPATH
/7zX_1.7.1.dmg"
/Volumes/7zX/7zX.app/Contents/Resources/7za x
"
$SCRIPTPATH
/boost_1_58_0.7z"
-o
"
$SCRIPTPATH
/"
hdiutil unmount /Volumes/7zX
fi
fi
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