default_pre_build  &&
# Set Python version to the installed version, not hardcoded to 2.4
# Bug #13418
sedit  "s:2.4:$(installed_version python):"  \
       $SOURCE_DIRECTORY/config/linux2-config.py  &&

cd $SOURCE_DIRECTORY                              &&
chmod 755 release/plugins/bmake                   &&
cp -r source/blender/blenpluginapi release/plugins/include &&
patch -p1 < ${SCRIPT_DIRECTORY}/blender-2.44-scriptsdir.patch
