boost rebuild

This commit is contained in:
Rmys
2020-04-06 16:04:12 +03:00
parent 9d524a0c23
commit 48ce3ec9ed
2 changed files with 28 additions and 7 deletions
+14 -6
View File
@@ -19,13 +19,21 @@ def setup():
shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-38" % get.srcVERSION())
shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python2.7 --prefix=%s/usr" % get.installDIR())
shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-38" % get.srcVERSION())
shelltools.system("./bootstrap.sh --with-toolset=gcc \
--with-icu \
--with-python=/usr/bin/python2.7 \
--prefix=%s/usr" % get.installDIR())
shelltools.cd("../boost-%s-38" % get.srcVERSION())
shelltools.system("sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}} ;@' \
-i bootstrap.sh")
shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python3.8 --prefix=%s/usr" % get.installDIR())
shelltools.system("./bootstrap.sh --with-toolset=gcc \
--with-icu \
--with-python=/usr/bin/python3 \
--with-libraries=python \
--prefix=%s/usr" % get.installDIR())
shelltools.cd("..")
@@ -71,4 +79,4 @@ def install():
shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR())
shelltools.system("./b2 install threading=multi link=shared")
# some packages need this library as : libboost_python3.so
pisitools.dosym("/usr/lib/libboost_python38.so.1.72.0", "/usr/lib/libboost_python3.so")
pisitools.dosym("/usr/lib/libboost_python38.so.1.72.0", "/usr/lib/libboost_python3.so")
+14 -1
View File
@@ -16,6 +16,7 @@
<Archive sha1sum="88866e4075e12255e7a7189d0b8a686e0b1ee9c1" type="tarbz2">https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2</Archive>
<BuildDependencies>
<Dependency>bzip2</Dependency>
<Dependency>zstd-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>icu4c-devel</Dependency>
<Dependency>python-devel</Dependency>
@@ -23,6 +24,8 @@
<!-- libsxlt is needed for xsltproc -->
<Dependency>libxslt</Dependency>
<!--Dependency>openmpi-devel</Dependency-->
<Dependency>python-numpy</Dependency>
<Dependency>python3-numpy</Dependency>
</BuildDependencies>
<Patches>
<!--<Patch>pythonfix.patch</Patch> -->
@@ -34,6 +37,7 @@
<Summary>Peer-reviewed portable C++ source libraries</Summary>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>zstd</Dependency>
<Dependency>bzip2</Dependency>
<Dependency>icu4c</Dependency>
<Dependency>libgcc</Dependency>
@@ -69,6 +73,7 @@
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libboost_numpy27.so*</Path>
<Path fileType="library">/usr/lib/libboost_python27.so*</Path>
</Files>
</Package>
@@ -81,11 +86,19 @@
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libboost_numpy38.so*</Path>
<Path fileType="library">/usr/lib/libboost_python38.so*</Path>
</Files>
</Package>
<History>
<Update release="12">
<Date>2020-04-06</Date>
<Version>1.72.0</Version>
<Comment>Rebuild</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="11">
<Date>2020-02-10</Date>
<Version>1.72.0</Version>
@@ -164,4 +177,4 @@
<Email>karaguzelibrahim@gmail.com</Email>
</Update>
</History>
</PISI>
</PISI>