From bd6679f1ff685039179fa8658e36b1d677e6852f Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 24 Jan 2012 15:49:01 +1000 Subject: Add a test to see if EFL is already installed, and build it if not. This is only half arsed at the moment, as I DO have EFL installed here. --- build.sh | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/build.sh b/build.sh index 3a61050..19c7ff9 100755 --- a/build.sh +++ b/build.sh @@ -34,28 +34,42 @@ echo $command $command -echo "_______________ BUILDING eina _______________" -cd $wd/libraries/eina +# Test if edje is already available, build EFL up to edje if not. +# TODO - Check EFL version. +hash edje_cc 2>&- || { + echo "_______________ BUILDING eina _______________" + cd $wd/libraries/eina + ./configure && make -echo "_______________ BUILDING eet _______________" -cd $wd/libraries/eet + echo "_______________ BUILDING eet _______________" + cd $wd/libraries/eet + ./configure && make -echo "_______________ BUILDING evas _______________" -cd $wd/libraries/evas + echo "_______________ BUILDING evas _______________" + cd $wd/libraries/evas + ./configure && make -echo "_______________ BUILDING ecore _______________" -cd $wd/libraries/ecore + echo "_______________ BUILDING ecore _______________" + cd $wd/libraries/ecore + ./configure && make -echo "_______________ BUILDING embryo _______________" -cd $wd/libraries/embryo + echo "_______________ BUILDING embryo _______________" + cd $wd/libraries/embryo + ./configure && make -echo "_______________ BUILDING edje _______________" -cd $wd/libraries/edje + + echo "_______________ BUILDING edje _______________" + cd $wd/libraries/edje + ./configure && make + + +# TODO - Install this EFL version, and/or get the rest of the system to use it. +} echo "_______________ BUILDING LuaSL _______________" -- cgit v1.1