summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Kroitor <an.kroitor@samsung.com>2016-10-11 13:16:32 +0300
committerAndrii Kroitor <an.kroitor@samsung.com>2016-10-11 13:16:42 +0300
commit883f20aaf0fd85d9f1da65b76a70a6308a34d159 (patch)
treef320cee2484a1bfde745f6d45b236fe81f919011
parent4569178ee11247e6818ce27b73f809f096620a04 (diff)
Add dlfcn library to setup_deps
It is needed for Tizen sdk version of EFL
-rwxr-xr-xsetup_deps.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/setup_deps.sh b/setup_deps.sh
index 9c8ceaf..62f8941 100755
--- a/setup_deps.sh
+++ b/setup_deps.sh
@@ -39,6 +39,20 @@ while read pkg; do
39 echo "[+] $pkg" 39 echo "[+] $pkg"
40 fi 40 fi
41done < $LIST 41done < $LIST
42if [ $BITS -eq 64 ]
43then
44 if [ ! -f "download/mingw-w64-x86_64-dlfcn-1.0.0-2-any.pkg.tar.xz" ]
45 then
46 wget "http://downloads.sourceforge.net/project/msys2/REPOS/MINGW/x86_64/mingw-w64-x86_64-dlfcn-1.0.0-2-any.pkg.tar.xz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fmsys2%2Ffiles%2FREPOS%2FMINGW%2Fx86_64%2F&ts=1476175877&use_mirror=heanet" -q -O download/mingw-w64-x86_64-dlfcn-1.0.0-2-any.pkg.tar.xz
47 fi
48 echo "[+] mingw-w64-x86_64-dlfcn-1.0.0-2-any.pkg.tar.xz"
49else
50 if [ ! -f "download/mingw-w64-i686-dlfcn-1.0.0-2-any.pkg.tar.xz" ]
51 then
52 wget "http://downloads.sourceforge.net/project/msys2/REPOS/MINGW/i686/mingw-w64-i686-dlfcn-1.0.0-2-any.pkg.tar.xz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fmsys2%2Ffiles%2FREPOS%2FMINGW%2Fi686%2F&ts=1476175952&use_mirror=heanet" -q -O download/mingw-w64-i686-dlfcn-1.0.0-2-any.pkg.tar.xz
53 fi
54 echo "[+] mingw-w64-i686-dlfcn-1.0.0-2-any.pkg.tar.xz"
55fi
42echo "" 56echo ""
43 57
44echo "Unpacking packages into ./opt/" 58echo "Unpacking packages into ./opt/"
@@ -51,6 +65,14 @@ then
51 echo "[+] $pkg" 65 echo "[+] $pkg"
52fi 66fi
53done < $LIST 67done < $LIST
68if [ $BITS -eq 64 ]
69then
70 tar -C opt/windows_64 -xf download/mingw-w64-x86_64-dlfcn-1.0.0-2-any.pkg.tar.xz mingw64 --strip-components 1
71 echo "[+] mingw-w64-x86_64-dlfcn-1.0.0-2-any.pkg.tar.xz"
72else
73 tar -C opt/windows_32 -xf download/mingw-w64-i686-dlfcn-1.0.0-2-any.pkg.tar.xz mingw32 --strip-components 1
74 echo "[+] mingw-w64-i686-dlfcn-1.0.0-2-any.pkg.tar.xz"
75fi
54echo "" 76echo ""
55 77
56echo "Setup finished" 78echo "Setup finished"