Merge pull request #7934 from blue-devil/master
boost:fix library symlink
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
#WorkDir = "boost-%s" % get.srcVERSION()
|
||||
|
||||
@@ -39,7 +39,8 @@ def build():
|
||||
link=shared,static \
|
||||
toolset=gcc \
|
||||
python=2.7 \
|
||||
cflags=-fno-strict-aliasing \
|
||||
cflags='-fno-strict-aliasing -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations' \
|
||||
cxxflags='-fno-strict-aliasing -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations' \
|
||||
--layout=system")
|
||||
|
||||
shelltools.cd("../boost-%s-38" % get.srcVERSION())
|
||||
@@ -51,9 +52,9 @@ def build():
|
||||
link=shared,static \
|
||||
toolset=gcc \
|
||||
python=3.8 \
|
||||
cflags=-fno-strict-aliasing \
|
||||
cflags='-fno-strict-aliasing -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations' \
|
||||
cxxflags='-fno-strict-aliasing -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations' \
|
||||
--layout=system")
|
||||
|
||||
shelltools.cd("..")
|
||||
|
||||
def install():
|
||||
@@ -69,3 +70,5 @@ def install():
|
||||
shelltools.copytree("tools/boostbook/xsl", "%s/usr/share/boostbook/xsl" % get.installDIR())
|
||||
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")
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>boost</Name>
|
||||
@@ -8,8 +8,8 @@
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<PartOf>programming.language.misc</PartOf>
|
||||
<License>GPLv2</License>
|
||||
<PartOf>programming.language</PartOf>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Peer-reviewed portable C++ source libraries</Summary>
|
||||
<Description>Boost provides free portable peer-reviewed C++ libraries. The emphasis is on portable libraries which work well with the C++ Standard Library.</Description>
|
||||
@@ -25,12 +25,13 @@
|
||||
<!--Dependency>openmpi-devel</Dependency-->
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch>pythonfix.patch</Patch> -->
|
||||
<!--<Patch>pythonfix.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>boost</Name>
|
||||
<Summary>Peer-reviewed portable C++ source libraries</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>bzip2</Dependency>
|
||||
@@ -39,10 +40,10 @@
|
||||
<!--Dependency>openmpi</Dependency-->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/boostbook</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
@@ -54,15 +55,15 @@
|
||||
<Dependency release="current">boost</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/*/html</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="doc">/usr/share/doc/*/html</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>boost-python</Name>
|
||||
<Summary>a C++ library which enables seamless interoperability between C++ and the Python</Summary>
|
||||
<Summary>A C++ library which enables seamless interoperability between C++ and the Python</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">boost</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
@@ -74,7 +75,7 @@
|
||||
|
||||
<Package>
|
||||
<Name>boost-python3</Name>
|
||||
<Summary>Headers and library documentation for boosta C++ library which enables seamless interoperability between C++ and the Python3</Summary>
|
||||
<Summary>A C++ library which enables seamless interoperability between C++ and the Python3</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">boost</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
@@ -85,6 +86,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="11">
|
||||
<Date>2020-02-10</Date>
|
||||
<Version>1.72.0</Version>
|
||||
<Comment>Symlink and translations fix</Comment>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2020-01-12</Date>
|
||||
<Version>1.72.0</Version>
|
||||
@@ -156,4 +164,4 @@
|
||||
<Email>karaguzelibrahim@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
</PISI>
|
||||
@@ -10,5 +10,18 @@
|
||||
<Package>
|
||||
<Name>boost-devel</Name>
|
||||
<Summary xml:lang="tr">boost için başlık dosyaları ve kitaplık belgeleri</Summary>
|
||||
<Description xml:lang="tr">boost-devel, boost için geliştirme ve başlık dosyalarını içerir.</Description>
|
||||
</Package>
|
||||
</PISI>
|
||||
|
||||
<Package>
|
||||
<Name>boost-python</Name>
|
||||
<Summary xml:lang="tr">boost için python kitaplık belgeleri</Summary>
|
||||
<Description xml:lang="tr">boost-python, boost için python kitaplık belgelerini içerir.</Description>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>boost-python3</Name>
|
||||
<Summary xml:lang="tr">boost için python3 kitaplık belgeleri</Summary>
|
||||
<Description xml:lang="tr">boost-python3, boost için python3 kitaplık belgelerini içerir.</Description>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user