|
@ -5,7 +5,7 @@ TERMUX_PKG_SHA256=9807a5d16566c57fd74fb522764e0b134a8bbe6b6e8967b83afefd30dcd3be |
|
|
TERMUX_PKG_SRCURL=https://sourceforge.net/projects/boost/files/boost/${TERMUX_PKG_VERSION}/boost_${TERMUX_PKG_VERSION//./_}.tar.bz2 |
|
|
TERMUX_PKG_SRCURL=https://sourceforge.net/projects/boost/files/boost/${TERMUX_PKG_VERSION}/boost_${TERMUX_PKG_VERSION//./_}.tar.bz2 |
|
|
TERMUX_PKG_BUILD_IN_SRC=yes |
|
|
TERMUX_PKG_BUILD_IN_SRC=yes |
|
|
TERMUX_PKG_DEPENDS="libbz2, liblzma" |
|
|
TERMUX_PKG_DEPENDS="libbz2, liblzma" |
|
|
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
termux_step_make_install() { |
|
|
termux_step_make_install() { |
|
|
rm $TERMUX_PREFIX/lib/libboost* -f |
|
|
rm $TERMUX_PREFIX/lib/libboost* -f |
|
|
rm $TERMUX_PREFIX/include/boost -rf |
|
|
rm $TERMUX_PREFIX/include/boost -rf |
|
@ -16,6 +16,7 @@ termux_step_make_install() { |
|
|
|
|
|
|
|
|
./b2 target-os=android -j${TERMUX_MAKE_PROCESSES} \ |
|
|
./b2 target-os=android -j${TERMUX_MAKE_PROCESSES} \ |
|
|
include=/data/data/com.termux/files/usr/include \ |
|
|
include=/data/data/com.termux/files/usr/include \ |
|
|
|
|
|
include=/data/data/com.termux/files/usr/include/python3.6m \ |
|
|
toolset=clang-$TERMUX_ARCH \ |
|
|
toolset=clang-$TERMUX_ARCH \ |
|
|
--prefix="$TERMUX_PREFIX" \ |
|
|
--prefix="$TERMUX_PREFIX" \ |
|
|
-q \ |
|
|
-q \ |
|
@ -23,7 +24,7 @@ termux_step_make_install() { |
|
|
--without-coroutine \ |
|
|
--without-coroutine \ |
|
|
--without-context \ |
|
|
--without-context \ |
|
|
--without-log \ |
|
|
--without-log \ |
|
|
--without-python \ |
|
|
--buildid=3 \ |
|
|
--disable-icu \ |
|
|
--disable-icu \ |
|
|
cxxflags="$CXXFLAGS" \ |
|
|
cxxflags="$CXXFLAGS" \ |
|
|
link=shared \ |
|
|
link=shared \ |
|
|