py3boost: initial commit, version 1.69.0
This commit is contained in:
parent
3a5f7addd0
commit
d1482156f1
6
py3boost/.footprint
Normal file
6
py3boost/.footprint
Normal file
@ -0,0 +1,6 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
lrwxrwxrwx root/root usr/lib/libboost_python3.so -> libboost_python37.so.1.69.0
|
||||
-rw-r--r-- root/root usr/lib/libboost_python37.a
|
||||
lrwxrwxrwx root/root usr/lib/libboost_python37.so -> libboost_python37.so.1.69.0
|
||||
-rwxr-xr-x root/root usr/lib/libboost_python37.so.1.69.0
|
5
py3boost/.signature
Normal file
5
py3boost/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF32FWDt/eFQYjFKYgZqwja6s6MV+Ex6RhrJfZqtTp5TQMYkCfuWefa7kSn1nStAVJvCB94btty04xQFQQAEwfEQI=
|
||||
SHA256 (Pkgfile) = 960404933b4d195797d067867b6b0ea0155f03e6b393c79032884751749cd806
|
||||
SHA256 (.footprint) = 0101b202cda513205e2b3541ba592c82ca29e08b81433c99f30d48351031ed64
|
||||
SHA256 (boost_1_69_0.tar.bz2) = 8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406
|
45
py3boost/Pkgfile
Normal file
45
py3boost/Pkgfile
Normal file
@ -0,0 +1,45 @@
|
||||
# Description: Boost python3 binding.
|
||||
# URL: https://www.boost.org/
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Packager: Pedja, predivan at mts dot rs
|
||||
# Depends on: boost python3
|
||||
|
||||
name=py3boost
|
||||
version=1.69.0
|
||||
release=2
|
||||
source=(https://downloads.sourceforge.net/project/${name#py3}/${name#py3}/$version/${name#py3}_${version//./_}.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd ${name#py3}_${version//./_}
|
||||
|
||||
# these numbers need to be changed according to systems python3 version
|
||||
sed -i '19s:=python:=python3.7:' bootstrap.sh
|
||||
# here too
|
||||
sed -i '20s:=:=3.7:' bootstrap.sh
|
||||
|
||||
export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/usr/include/python3"
|
||||
|
||||
export _stagedir="$SRC/stagedir"
|
||||
|
||||
./bootstrap.sh \
|
||||
--prefix="${_stagedir}" \
|
||||
--with-toolset=gcc \
|
||||
--with-icu \
|
||||
--with-libraries=python
|
||||
|
||||
./b2 stage \
|
||||
variant=release \
|
||||
threading=multi \
|
||||
runtime-link=shared \
|
||||
link=shared,static \
|
||||
debug-symbols=off \
|
||||
toolset=gcc \
|
||||
--prefix="${_stagedir/python3}" \
|
||||
--with-python \
|
||||
install
|
||||
|
||||
install -dm 755 $PKG/usr/lib
|
||||
cp -a ${_stagedir}/lib/libboost_python3* $PKG/usr/lib
|
||||
#https://github.com/boostorg/python/issues/203#issuecomment-391477685
|
||||
ln -srL $PKG/usr/lib/libboost_python3{7,}.so
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user