Browse Source

boost add python3 lib

android-5
its-pointless 7 years ago
committed by Fredrik Fornwall
parent
commit
9363d15478
  1. 5
      packages/boost/build.sh
  2. 3
      packages/boost/libboost-python.subpackage.sh

5
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_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 \

3
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"
Loading…
Cancel
Save