# fss-0002

main:
  ./configure $CONF --enable-xinerama --enable-xft --enable-xdbe --enable-shared --enable-threads $TARGET
  sed -i -e 's|src fluid test documentation|src fluid test|' Makefile
  sed -i -e 's|/usr/local|/|' makeinclude
  sed -i -e 's|${prefix}/include|${TC}include|' makeinclude
  make
  make install
  tkis_local_push absolute ${TC}include/FL/
  mv -v dirent.h gl.h gl2opengl.h math.h  $WO
  rm -v *.h
  mv -v ${WO}{dirent.h,gl.h,gl2opengl.h,math.h} .
  tkis_handle_documentation doc multimedia /share/doc/
  tkis_local_pop
  mv -v /bin/fltk-config ${TC}bin/
  rm -vf /lib/libfltk{,_forms,_gl,_images}.a
