default USE_SNAPSHOTS=false
default PACKAGES_OFF=""
+INSTALL_PATH=${INSTALL_PATH}/libs
+
# Check if project was specified correctly
if [ -d ${PROJECT} ]; then
if [ -d ${PROJECT}/platforms -a -d ${PROJECT}/packages ]; then
package_specific_build () {
cp -rf ${UNPACK_PATH}/${NAME}/* .
- ./bootstrap.sh --prefix=${INSTALL_PATH}
+ ./bootstrap.sh --prefix=${INSTALL_PATH}/${NAME}
echo "using mpi ;" > user-config.jam
./b2 -j ${PROCS} --user-config=user-config.jam --build-dir=candi_build_dir link=shared install ${CONFOPTS}
}
package_specific_register () {
- export BOOST_ROOT=${INSTALL_PATH}
- export BOOST_INCLUDEDIR=${INSTALL_PATH}/include
- export BOOST_LIBRARYDIR=${INSTALL_PATH}/lib
+ export BOOST_ROOT=${INSTALL_PATH}/${NAME}
+ export BOOST_INCLUDEDIR=${INSTALL_PATH}/${NAME}/include
+ export BOOST_LIBRARYDIR=${INSTALL_PATH}/${NAME}/lib
export BOOST_USE_MULTITHREADED=OFF
}
}
package_specific_register () {
- export BZIP2_INCLUDE=${INSTALL_PATH}/include
- export BZIP2_LIBPATH=${INSTALL_PATH}/lib
+ export BZIP2_INCLUDE=${INSTALL_PATH}/${NAME}/include
+ export BZIP2_LIBPATH=${INSTALL_PATH}/${NAME}/lib
}
PACKING=git
BUILDCHAIN=cmake
+INSTALL_PATH=${INSTALL_PATH}/..
+
CONFOPTS=" \
${DEAL_CONFOPTS} \
"
BUILDCHAIN=cmake
-CONFOPTS="-D OCE_INSTALL_PREFIX=${INSTALL_PATH} \
+CONFOPTS="-D OCE_INSTALL_PREFIX=${INSTALL_PATH}/${NAME} \
-D OCE_VISUALISATION=OFF \
-D OCE_DATAEXCHANGE=ON \
-D OCE_OCAF=OFF \
"
package_specific_register () {
- export OPENCASCADE_DIR=${INSTALL_PATH}/
+ export OPENCASCADE_DIR=${INSTALL_PATH}/${NAME}
}
# Where you want it installed when you do 'make install'
-PREFIX=/usr/local
-+PREFIX=${INSTALL_PATH}
++PREFIX=${INSTALL_PATH}/${NAME}
OBJS= blocksort.o \