| 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, devel at crux-arm dot nu |
| 5 | # Depends on: edje hal |
| 6 | |
| 7 | name=e_dbus |
| 8 | version=20100217 |
| 9 | release=1 |
| 10 | source=(http://lokalix.dyndns.org/crux/distfiles/e17/$name-$version.tar.bz2) |
| 11 | |
| 12 | build() |
| 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 EDBUS_LIBS="-L$CLFS/usr/lib -ldbus-1 -lpthread -lrt -lecore" |
| 18 | export EDBUS_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/dbus-1.0 -I$CLFS/usr/lib/dbus-1.0/include" |
| 19 | export EVAS_LIBS="-L$CLFS/usr/lib -levas" |
| 20 | export EVAS_CFLAGS="-I$CLFS/usr/include" |
| 21 | export HAL_TEST_GUI_LIBS="-L$CLFS/usr/lib -lefreet" |
| 22 | export HAL_TEST_GUI_CFLAGS="-I$CLFS/usr/include/efreet" |
| 23 | |
| 24 | ./autogen.sh --build=$CHOST \ |
| 25 | --host=$CTARGET \ |
| 26 | --prefix=/usr |
| 27 | make |
| 28 | sed -e 's|libdir='/usr/lib'|libdir='$CLFS/usr/lib'|g' -i src/lib/hal/libehal.la |
| 29 | make install DESTDIR=$PKG |
| 30 | } |