diff --git a/packages/boost/build.sh b/packages/boost/build.sh index 7c183b336..2900ddbd8 100644 --- a/packages/boost/build.sh +++ b/packages/boost/build.sh @@ -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_BUILD_IN_SRC=yes TERMUX_PKG_DEPENDS="libbz2, liblzma" - +TERMUX_PKG_REVISION=1 termux_step_make_install() { rm $TERMUX_PREFIX/lib/libboost* -f rm $TERMUX_PREFIX/include/boost -rf @@ -16,6 +16,7 @@ termux_step_make_install() { ./b2 target-os=android -j${TERMUX_MAKE_PROCESSES} \ include=/data/data/com.termux/files/usr/include \ + include=/data/data/com.termux/files/usr/include/python3.6m \ toolset=clang-$TERMUX_ARCH \ --prefix="$TERMUX_PREFIX" \ -q \ @@ -23,7 +24,7 @@ termux_step_make_install() { --without-coroutine \ --without-context \ --without-log \ - --without-python \ + --buildid=3 \ --disable-icu \ cxxflags="$CXXFLAGS" \ link=shared \ diff --git a/packages/boost/libboost-python.subpackage.sh b/packages/boost/libboost-python.subpackage.sh new file mode 100644 index 000000000..d2fddfbff --- /dev/null +++ b/packages/boost/libboost-python.subpackage.sh @@ -0,0 +1,3 @@ +TERMUX_SUBPKG_INCLUDE="lib/libboost_python-3.so.1.65.1 libboost_python-3.so" +TERMUX_SUBPKG_DESCRIPTION="Boost.Python Library" +TERMUX_SUBPKG_DEPENDS="python, boost"