#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. NEW_BUILD_NAME=boost NEW_BUILD_VER=1.49.0 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME-* ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME-* NEW_BUILD_NR=0 cd ~/compile wget http://sourceforge.net/projects/boost/files/boost/1.49.0/boost_1_49_0.tar.gz/download tar xvzf boost_1_49_0.tar.gz cd ~/compile/boost_1_49_0 ~/x.sh ffpg #modify boostcpp.jam to this (removed /usr/local): #install-requirements +=; #modify boost-build.jam, boostcpp.jam, bootstrap.sh: #replace any /usr or /usr/local to /ffp ./bootstrap.sh rm -r $HOME/temp/$NEW_BUILD_NAME_AND_VER nohup ./b2 --prefix=$HOME/temp/$NEW_BUILD_NAME_AND_VER/ffp --without-mpi variant=release install & cd $HOME/temp/$NEW_BUILD_NAME_AND_VER makepkg $NEW_BUILD_NAME $NEW_BUILD_VER $NEW_BUILD_NR cp -v /tmp/$NEW_BUILD_NAME-$NEW_BUILD_VER-arm-$NEW_BUILD_NR.txz ~/ffp_0.7_armv5/packages/ funpkg -q $NEW_BUILD_NAME funpkg -i ~/apache-htdocs/ffp_0.7_armv5/packages/$NEW_BUILD_NAME-$NEW_BUILD_VER-arm-$NEW_BUILD_NR.txz