Mercurial > vanilla
diff lib/boost/boost.sh @ 1216:6710613b88b9
misc: remove build function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 29 Sep 2021 13:49:32 +0200 |
parents | 02911b528211 |
children | 57dc83a39b13 |
line wrap: on
line diff
--- a/lib/boost/boost.sh Wed Jul 28 15:24:46 2021 +0200 +++ b/lib/boost/boost.sh Wed Sep 29 13:49:32 2021 +0200 @@ -63,40 +63,37 @@ ;; esac -build() -{ - rm -rf ${PKGNAME}_$_VERSION - tar xvf ${PKGNAME}_$_VERSION.tar.gz - cd ${PKGNAME}_$_VERSION +rm -rf ${PKGNAME}_$_VERSION +tar xvf ${PKGNAME}_$_VERSION.tar.gz +cd ${PKGNAME}_$_VERSION - touch user-config.jam +touch user-config.jam - if [ "$PYTHON" = "yes" ]; then - echo "using python : 3.7 : /bin/python : /include/python3.7m : : : : ;" >> user-config.jam - fi +if [ "$PYTHON" = "yes" ]; then + echo "using python : 3.7 : /bin/python : /include/python3.7m : : : : ;" >> user-config.jam +fi - ./bootstrap.sh \ - --with-toolset=$with_toolset \ - $with_bootstrap_icu \ - $with_bootstrap_python +./bootstrap.sh \ + --with-toolset=$with_toolset \ + $with_bootstrap_icu \ + $with_bootstrap_python - # --layout=system: generate simple libraries names (no suffixes). - ./b2 \ - --user-config=user-config.jam \ - --layout=system \ - --prefix=$DESTDIR \ - link=static,shared \ - debug-symbols=off \ - runtime-link=shared \ - threading=multi \ - variant=release \ - toolset=$with_toolset \ - $with_cxxflags \ - $with_linkflags \ - $with_python \ - $with_icu \ - install +# --layout=system: generate simple libraries names (no suffixes). +./b2 \ + --user-config=user-config.jam \ + --layout=system \ + --prefix=$DESTDIR \ + link=static,shared \ + debug-symbols=off \ + runtime-link=shared \ + threading=multi \ + variant=release \ + toolset=$with_toolset \ + $with_cxxflags \ + $with_linkflags \ + $with_python \ + $with_icu \ + install - cd .. - rm -rf ${PKGNAME}_$_VERSION -} +cd .. +rm -rf ${PKGNAME}_$_VERSION