diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-01-04 16:24:29 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-01-04 16:24:29 +0100 |
commit | ae6aefe629222b7667f9bb192469e7efb0940066 (patch) | |
tree | 2e01b4d67617ba66278cd044ad4935a3c83b914f /build_efl_stable.sh | |
parent | 3d341defe2ff4a1e44d3d9685e25458fb3fdba2a (diff) | |
download | bin-ae6aefe629222b7667f9bb192469e7efb0940066.zip bin-ae6aefe629222b7667f9bb192469e7efb0940066.tar.gz |
build_efl_stable.sh: efl 1.7.5 and various small things
Diffstat (limited to 'build_efl_stable.sh')
-rwxr-xr-x | build_efl_stable.sh | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/build_efl_stable.sh b/build_efl_stable.sh index fa5284d..d614603 100755 --- a/build_efl_stable.sh +++ b/build_efl_stable.sh @@ -1,11 +1,12 @@ #! /bin/bash -EFL_VER=1.7.4 +EFL_VER=1.7.5 E_VER=0.17.0 -PREFIX=/opt/efl -OPTIONS="--disable-doc" +PREFIX=/opt/efl-stable +OPTIONS="--disable-doc --disable-static" SUDO_PASSWD="" BASE_URL="http://download.enlightenment.fr/releases" +export LD_LIBRARY_PATH="" export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig" EFL_PKGS="eina eet evas ecore eio embryo edje efreet e_dbus eeze emotion ethumb elementary" @@ -40,7 +41,13 @@ function e_build() { echo "build and install" for pkg in $EFL_PKGS; do echo " - $pkg" - cd $pkg-${EFL_VER} && ./autogen.sh --prefix=$PREFIX $OPTIONS && make && echo "$PASSWD" | sudo -S make install && cd .. || exit 1 + cd $pkg-${EFL_VER} || exit 1 + ./autogen.sh --prefix=$PREFIX $OPTIONS + if [ $? -ne 0 ]; then + echo " - FIX configure.ac" && sed -i 's/AM_PROG_CC_STDC/AC_PROG_CC/g' configure.ac && sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || exit 1 + ./autogen.sh --prefix=$PREFIX $OPTIONS || exit 1 + fi + make && echo "$PASSWD" | sudo -S make install && cd .. || exit 1 done echo " - $e_arch" cd enlightenment-${E_VER} && ./configure --prefix=$PREFIX $OPTIONS && make && echo "$PASSWD" | sudo -S make install && cd .. || exit 1 |