summaryrefslogtreecommitdiffstats
path: root/tools/install-efl.sh
blob: a3f178d68856555fcc9937cd9bdc1aa2c73645d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash

WDIR=/tmp/efl
PREFIX="/opt/efl-stable"
VERSION=1.7.5
BASE="http://download.enlightenment.org/releases/"

export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
export PATH=$PREFIX/bin:$PATH

[ -d $WDIR ] || mkdir $WDIR
for pkg in eina eet evas ecore eio embryo edje e_dbus eeze efreet ethumb emotion elementary; do
    echo "install $pkg-$VERSION into $PREFIX"
    curl -L $BASE$pkg-$VERSION.tar.gz | tar -xz -C $WDIR
    cd $WDIR/$pkg-$VERSION && ./configure --prefix=$PREFIX && make && make install || exit 1
done