boost add python3 lib

This commit is contained in:
its-pointless 2018-01-05 12:16:58 +11:00 committed by Fredrik Fornwall
parent 7462cff180
commit 4ffbecd28d
2 changed files with 6 additions and 2 deletions

View File

@ -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 \

View File

@ -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"