Pass remove pwgen as requirement (#985)
[termux-packages] / packages / boost / build.sh
CommitLineData
4bb4b376 1TERMUX_PKG_HOMEPAGE=https://boost.org
2TERMUX_PKG_DESCRIPTION="cpp libs"
3TERMUX_PKG_VERSION=1.64.0
4TERMUX_PKG_SRCURL=http://sourceforge.net/projects/boost/files/boost/1.64.0/boost_1_64_0.tar.bz2
5TERMUX_PKG_SHA256=7bcc5caace97baa948931d712ea5f37038dbb1c5d89b43ad4def4ed7cb683332
6TERMUX_PKG_FOLDERNAME="boost_1_64_0"
7TERMUX_PKG_BUILD_IN_SRC=yes
8TERMUX_PKG_DEPENDS="libbz2, libicu"
9termux_step_configure(){
10 return 0;
11}
12termux_step_make() {
13 return 0;
14}
15termux_step_make_install() {
16 CXXFLAGS+=" -std=c++11"
17 rm $TERMUX_PREFIX/lib/libboost* -f
18 rm $TERMUX_PREFIX/include/boost -rf
19 ./bootstrap.sh
20 echo "using clang : $TERMUX_ARCH : $CXX : <linkflags>-L/data/data/com.termux/files/usr/lib ; " >> project-config.jam
21 ./b2 target-os=android -j${TERMUX_MAKE_PROCESSES} \
22 include=/data/data/com.termux/files/usr/include \
23 include=/data/data/com.termux/files/usr/include/python2.7 \
24 toolset=clang-$TERMUX_ARCH \
25 --prefix="$TERMUX_PREFIX" \
26 -q \
27 --without-coroutine2 \
28 --without-coroutine \
29 --without-context \
30 --without-log \
31 cxxflags="$CXXFLAGS" \
32 link=shared \
33 threading=multi \
34 install
35}