All pastes #768624 Raw Edit

efl build script

public text v1 · immutable
·published 2007-11-10 19:16 UTC
rendered paste body
#!/bin/sh

modules="edb eet evas ecore embryo edje efreet epeg epsilon emotion etk ewl e_dbus exml enhance"

common_config_options="--prefix=/usr"
evas_config_options="$common_config_options --enable-software-16-x11"
ecore_config_options="$common_config_options --enable-ecore-evas-x11-16"

config_options=""

for m in $modules; do
    oldpwd=$PWD
    echo "building $m"
    cd $m

#    make distclean

    if test "x$m" = "xevas"; then
        config_options="$evas_config_options"
    elif test "x$m" = "xecore"; then
        config_options="$ecore_config_options"
    else
        config_options="$common_config_options"
    fi

    ./autogen.sh $config_options || exit 1

#    sudo make uninstall || exit 1
#    make clean || exit 1
    make || exit 1
    sudo make install || exit 1
    cd $oldpwd
done