summaryrefslogtreecommitdiffstats
path: root/tools/install-efl.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-11-16 02:06:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-11-16 02:06:39 +0100
commit166d5a27cdd1d28dc1354235ea1acc851aa8408d (patch)
treee331f22eb7219c7730181290accf81f845a81bb6 /tools/install-efl.sh
parent76701d9c93da46c7b0cf4158e5e6627731186713 (diff)
downloadffi-efl-166d5a27cdd1d28dc1354235ea1acc851aa8408d.zip
ffi-efl-166d5a27cdd1d28dc1354235ea1acc851aa8408d.tar.gz
add tools/install-efl.sh
Diffstat (limited to 'tools/install-efl.sh')
-rwxr-xr-xtools/install-efl.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/install-efl.sh b/tools/install-efl.sh
new file mode 100755
index 0000000..7533a6b
--- /dev/null
+++ b/tools/install-efl.sh
@@ -0,0 +1,16 @@
+#! /bin/bash
+
+WDIR=/tmp/efl
+PREFIX="/opt/efl-stable"
+VERSION=1.7.1
+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