qi: add build instructions for the bootloader
[qi-bootmenu-system.git] / sources / sections / elementary.sh
blob67f1b9681f9266ad956c0ef230cdf1ccc68db639
1 setupfor elementary
3 [ ! -e ./configure ] && NOCONFIGURE=y ./autogen.sh
5 # use host edje_cc
7 # XXX: if we have run autogen libtool for some reasons
8 # has the variable link_all_deplibs set to no and
9 # therefore doesn't link against dependency libs
11 # for now we change the libtool variable with sed
13 LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" ./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr \
14 --with-edje-cc=edje_cc &&
15 sed -i 's/^link_all_deplibs=no$/link_all_deplibs=unknown/g' libtool
16 make &&
17 make DESTDIR="$STAGING_DIR" install || dienow
19 cp -P $STAGING_DIR/usr/lib/libelementary*.so* $ROOT_DIR/usr/lib || dienow
20 mkdir -p $ROOT_DIR/usr/share/elementary/themes &&
21 cp -P $STAGING_DIR/usr/share/elementary/themes/*.edj $ROOT_DIR/usr/share/elementary/themes || dienow
23 pkgconfig_fixup_prefix elementary
24 libtool_fixup_libdir elementary
26 cleanup elementary