# fss-0002
# target can be directfb or x11
# video depends on gstreamer and the massive gnome dependencies..

main:
  ./autogen.sh --help # autogen will try to run configure, adding --help will prevent it from running and then failing
  ./configure $CONF $DOCDIR --disable-video --with-target=x11
  find -type f -exec sed -i -e "s|/usr/bin/perl|$(type -p perl)|g" '{}' ';'
  find -type f -exec sed -i -e "s|/usr/bin/gcc|${TC}bin/gcc|g" '{}' ';'
  make pkgconfigdir=${TC}lib/pkgconfig/
  make pkgconfigdir=${TC}lib/pkgconfig/ install
  chmod ugo-x /lib/libwebkit.la
  mv -v /lib/libwebkit.la ${TC}lib/
  chgrp e_application /lib/libwebkit.so* /bin/jsc
  chmod o-rx /lib/libwebkit.so* /bin/jsc
