CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
edje: removed verbose output.
[attic/ports/e17-cross.git] / ecore / Pkgfile
CommitLineData
3c732d80
VM
1# Description: Libraries which provide event loop functionality for E17.
2# URL: http://www.enlightenment.org/
3# Maintainer: Victor Martinez, pitillo at ono dot com
4# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
5# Depends on: evas
6
7name=ecore
32d7e248 8version=20100202
3c732d80 9release=1
32d7e248 10source=(http://lokalix.dyndns.org/crux/distfiles/e17/$name-$version.tar.bz2)
3c732d80
VM
11
12build()
13{
14 cd $SRC/e17/$name
15 export EINA_LIBS="-L$CLFS/usr/lib -leet -leina"
16 export EINA_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/eina-0 -I$CLFS/usr/include/eina-0/eina"
17 export GLIB_LIBS="-L$CLFS/usr/lib -lglib-2.0"
18 export GLIB_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include"
19 export SDL_LIBS="-L$CLFS/usr/lib -lSDL -lpthread"
20 export SDL_CFLAGS="-L$CLFS/usr/lib -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT"
21 export EVAS_LIBS="-L$CLFS/usr/lib -levas"
22 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"
23 export EET_LIBS="-L$CLFS/usr/lib -leet"
24 export EET_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/eina-0 -I$CLFS/usr/include/eina-0/eina"
25 export CFLAGS="$CFLAGS -I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
26 export LIBS="$LIBS -L$CLFS/usr/lib -lXrender -lX11 -lXext"
27
28 # This will only be used when XCB backend selected (--enable-ecore-x-xcb) Problems with icccm atm
29 export XCB_LIBS="-L$CLFS/usr/lib -lxcb -lpixman-1 -lxcb-image -lxcb-shm -lxcb-keysyms"
30 export XCB_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/pixman-1"
31 export XCB_RENDER_LIBS="-L$CLFS/usr/lib -lxcb-render"
32 export XCB_RENDER_CFLAGS="-I$CLFS/usr/include"
33 export XCB_COMPOSITE_LIBS="-L$CLFS/usr/lib -lxcb-composite"
34 export XCB_COMPOSITE_CFLAGS="-I$CLFS/usr/include"
35 export XCB_DAMAGE_LIBS="-L$CLFS/usr/lib -lxcb-damage"
36 export XCB_DAMAGE_CFLAGS="-I$CLFS/usr/include"
37 export XCB_DPMS_LIBS="-L$CLFS/usr/lib -lxcb-dpms"
38 export XCB_DPMS_CFLAGS="-I$CLFS/usr/include"
39 export XCB_RANDR_LIBS="-L$CLFS/usr/lib -lxcb-randr"
40 export XCB_RANDR_CFLAGS="-I$CLFS/usr/include"
41 export XCB_XFIXES_LIBS="-L$CLFS/usr/lib -lxcb-xfixes"
42 export XCB_XFIXES_CFLAGS="-I$CLFS/usr/include"
43 export XCB_SHAPE_LIBS="-L$CLFS/usr/lib -lxcb-shape"
44 export XCB_SHAPE_CFLAGS="-I$CLFS/usr/include"
45 export XCB_XINERAMA_LIBS="-L$CLFS/usr/lib -lxcb-xinerama"
46 export XCB_XINERAMA_CFLAGS="-I$CLFS/usr/include"
47
3c732d80
VM
48 ./autogen.sh --build=$CHOST \
49 --host=$CTARGET \
50 --disable-nls \
51 --prefix=/usr \
52 --enable-ecore-evas-software-sdl \
53 --enable-ecore-evas-xrender-xcb \
54 --enable-ecore-evas-software-x11 \
55 --enable-ecore-evas-xrender-x11
56 make
57 make install DESTDIR=$PKG
58}