diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-05-27 22:11:18 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-05-27 22:11:18 +0200 |
commit | 71de2e1e3ddad469cc16d148973b8bbe7d027884 (patch) | |
tree | 5b39b5fea2ac4eff479b332ea5454364cbffedad /efl-release-build.sh | |
parent | 40b282f0aec933bdef11a336a8d33753b6f66343 (diff) | |
download | bin-71de2e1e3ddad469cc16d148973b8bbe7d027884.zip bin-71de2e1e3ddad469cc16d148973b8bbe7d027884.tar.gz |
efl-release-build.sh: fixes and jump to 1.7.7 0.17.3
Diffstat (limited to 'efl-release-build.sh')
-rwxr-xr-x | efl-release-build.sh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/efl-release-build.sh b/efl-release-build.sh index 0b404ca..d25e02d 100755 --- a/efl-release-build.sh +++ b/efl-release-build.sh @@ -3,8 +3,8 @@ SUDO_PASSWD="" EFL_MINOR="1" -EFL_VER="1.7.6" -E_VER="0.17.2.1" +EFL_VER="1.7.7" +E_VER="0.17.3" BASE_URL="http://download.enlightenment.fr/releases" DBUS_SRV_PATH="/usr/share/dbus-1/services" @@ -55,7 +55,7 @@ function e_extract() { echo "extract archives" for pkg in $EFL_PKGS; do - rm -rf $pkg*[^bz2] 2>/dev/null + rm -rf $pkg-${EFL_VER}.${MINOR}*[^bz2] 2>/dev/null arch_minor=${pkg}-${EFL_VER}.${EFL_MINOR}.tar.bz2 arch=${pkg}-${EFL_VER}.tar.bz2 if [ -e $arch_minor ]; then @@ -78,8 +78,8 @@ function e_build() { echo "build and install" for pkg in $EFL_PKGS; do - cd "$pkg-${EFL_VER}.${EFL_MINOR}" 2>/dev/null || cd "$pkg-${EFL_VER}" 2>/dev/null - echo -n " - $pkg" && pwd + echo " - $pkg" + cd $pkg-${EFL_VER}.${MINOR} 2>/dev/null || cd $pkg-${EFL_VER} 2>/dev/null ./autogen.sh --prefix=$PREFIX $EFL_FLAGS 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 @@ -90,7 +90,7 @@ function e_build() echo " - $e_arch" cd enlightenment-${E_VER} && ./configure --prefix=$PREFIX --libexecdir=$PREFIX/lib/enlightenment $E_FLAGS && make && echo "$SUDO_PASSWD" | sudo -S make install && cd .. || exit 1 cd $DBUS_SRV_PATH || exit 1 - for srv in $PREFIX/share/dbus-1/services/*; do + for $srv in $PREFIX/share/dbus-1/services/*; do echo "$SUDO_PASSWD" | sudo -S ln -s $srv done @@ -109,7 +109,6 @@ function get_sudopwd() } get_sudopwd -echo e_get e_extract e_build |