summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Kroitor <an.kroitor@samsung.com>2017-04-03 15:04:51 +0300
committerAndrii Kroitor <an.kroitor@samsung.com>2017-04-03 15:06:49 +0300
commit777ce0e3219cde3cf723e7974a80b27e646c3b9f (patch)
treeab453336f2f342aeabbf719e4545dc03cfaf8aba
parent2196e1cedfefcf202b6065ef89774206e50c764b (diff)
recipes: add expedite
-rw-r--r--recipes/efl_upstream/x86_64/expedite_install.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/efl_upstream/x86_64/expedite_install.sh b/recipes/efl_upstream/x86_64/expedite_install.sh
new file mode 100644
index 0000000..47a9b84
--- /dev/null
+++ b/recipes/efl_upstream/x86_64/expedite_install.sh
@@ -0,0 +1,30 @@
1#!/bin/bash
2set -e
3
4PROC_COUNT=$(grep -c ^processor /proc/cpuinfo)
5native=$PWD/native/efl_upstream/bin
6
7BITS=64
8LIBS="lib64"
9HOST="x86_64-w64-mingw32"
10
11cd ./sources/efl_upstream/expedite
12
13export CXXFLAGS="-std=gnu++11 -fno-exceptions"
14export CFLAGS="-I/opt/windows_$BITS/include/ -g3 -O2"
15export LDFLAGS="-L/opt/windows_$BITS/$LIBS/"
16export PKG_CONFIG_LIBDIR="/opt/windows_$BITS/$LIBS/pkgconfig"
17export PKG_CONFIG_PATH="/opt/windows_$BITS/lib/pkgconfig"
18
19./autogen.sh \
20--prefix=/opt/windows_$BITS \
21--host=$HOST \
22--with-eolian-gen="$native/eolian_gen" \
23--with-edje-cc="$native/edje_cc" \
24--with-eet-eet="$native/eet" \
25--with-elm-prefs-cc="$native/elm_prefs_cc" \
26--with-elementary-codegen="$native/elementary_codegen"
27
28make clean
29make -j "$PROC_COUNT"
30make install -j "$PROC_COUNT"