# Depends on: evas
name=ecore
-version=20100217
+version=20100511
release=1
source=(http://lokalix.dyndns.org/crux/distfiles/e17/$name-$version.tar.bz2)
export SDL_LIBS="-L$CLFS/usr/lib -lSDL -lpthread"
export SDL_CFLAGS="-L$CLFS/usr/lib -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT"
export EVAS_LIBS="-L$CLFS/usr/lib -levas"
-# export EVAS_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/eina-0 -I$CLFS/usr/include/eina-0/eina"
export EVAS_CFLAGS="-I$CLFS/usr/include"
export EET_LIBS="-L$CLFS/usr/lib -leet"
export EET_CFLAGS="-I$CLFS/usr/include"
- #export x_cflags="-I$CLFS/usr/lib"
- #export x_libs="-L$CLFS/usr/lib -lX11 -lXext"
export TSLIB_LIBS="-L$CLFS/usr/lib -lts"
export TSLIB_CFLAGS="-I$CLFS/usr/include"
export CFLAGS="$CFLAGS -I$CLFS/usr/include"
export XCB_XINERAMA_LIBS="-L$CLFS/usr/lib -lxcb-xinerama"
export XCB_XINERAMA_CFLAGS="-I$CLFS/usr/include"
- ./autogen.sh --build=$CHOST \
+ ./configure --build=$CHOST \
--host=$CTARGET \
--disable-nls \
--prefix=/usr \
--enable-ecore-evas-software-sdl \
--enable-ecore-evas-xrender-xcb \
--enable-ecore-evas-software-x11 \
- --enable-ecore-evas-xrender-x11 \
- --enable-ecore-evas-fb \
- --enable-tslib
+ --enable-ecore-evas-xrender-x11
find -type f -name 'Makefile*' \
-exec sed -e "s|/usr/X11R6|$CLFS/usr|g" -i {} \;
-# -e "s|-I/usr/X11R6/include|-I$CLFS/usr/include|g" -i {} \;
- make V=1
+ make
make install DESTDIR=$PKG
}