summaryrefslogtreecommitdiffstats
path: root/tools/install-efl.sh
blob: 9a3ba11a60df3cee67c39cdf8f1a09561c7f3d3f (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 eio evas ecore embryo edje e_dbus eeze efreet ethumb emotion elementary; do
    echo "install $pkg-$VERSION into $PREFIX"
    curl $BASE$pkg-$VERSION.tar.gz | tar -xz -C $WDIR
    cd $WDIR/$pkg-$VERSION && ./configure --prefix=$PREFIX && make && make install || exit 1
done