cd ${PRODUCT_SRC_DIR}/tools/build/v2/engine
-#chmod +w ./Jambase
-#sed -i 's/\/usr\/share\/boost-build/\$\(PRODUCT_SRC_DIR\)/g' ./Jambase
-
# add python version to the build.jam
py_versions=`grep -E "for local v in ([0-9]\.[0-9])+" ./build.jam | sed -e"s%.*for local v in \(.*\)%\1%g"`
echo $py_versions | grep $python_version >&/dev/null
if [ ${added} -eq 0 ]; then
vv="${vv} ${python_version}"
fi
- chmod +w ./build.jam
- sed -i "s%for local v in\( [0-9]\.[0-9]\)\+%for local v in${vv}%g" ./build.jam
+ chmod +w ./build.jam && sed -i "s%for local v in\( [0-9]\.[0-9]\)\+%for local v in${vv}%g" ./build.jam
fi
GCC=`which gcc`
cat $INSTALL_WORK/errlog >> ${PRODUCT_DIR}/INSTALL.LOG
fi
-# create additional links for libraries
-#cd ${PRODUCT_DIR}/lib
-
-#maj_ver=`gcc -dumpversion | awk -F[.-] '{if(NF>0) print $1; else print 0}'`
-#min_ver=`gcc -dumpversion | awk -F[.-] '{if(NF>1) print $2; else print 0}'`
-#gcc_ver=$maj_ver$min_ver
-
-#listlib=`find . -name "libboost_*-gcc${gcc_ver}-mt-${BOOST_VVERSION}.so" -exec basename {} ";" | sed -e "s%libboost_\(.*\)-gcc${gcc_ver}-mt-${BOOST_VVERSION}.so%\1%g"`
-
-#for aLib in XXX $listlib ; do
-# if [ "$aLib" == "XXX" ] ; then continue ; fi
-# aLibLink=libboost_${aLib}-mt.so
-# aLib=libboost_${aLib}-gcc${gcc_ver}-mt-${BOOST_VVERSION}.so
-# if [ -f ${aLib} ] && [ ! -e ${aLibLink} ] ; then
-# ln -sf ${aLib} ${aLibLink}
-# fi
-#done
-
cd ${PRODUCT_DIR};
# remove sources and temporary files after building
# create a product directory
test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
- check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
+check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
# to generate environment script for sources
try_preinstalled