boost add python3 lib
This commit is contained in:
parent
7462cff180
commit
4ffbecd28d
@ -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 \
|
||||
|
3
packages/boost/libboost-python.subpackage.sh
Normal file
3
packages/boost/libboost-python.subpackage.sh
Normal 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"
|
Loading…
Reference in New Issue
Block a user