@@ -17,15 +17,15 @@ def setup():
|
|||||||
|
|
||||||
shelltools.cd("boost-%s" % get.srcVERSION())
|
shelltools.cd("boost-%s" % get.srcVERSION())
|
||||||
|
|
||||||
shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-36" % get.srcVERSION())
|
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.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-36" % get.srcVERSION())
|
shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-38" % get.srcVERSION())
|
||||||
shelltools.cd("../boost-%s-36" % get.srcVERSION())
|
shelltools.cd("../boost-%s-38" % get.srcVERSION())
|
||||||
shelltools.system("sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}m} ;@' \
|
shelltools.system("sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}} ;@' \
|
||||||
-i bootstrap.sh")
|
-i bootstrap.sh")
|
||||||
shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python3.6 --prefix=%s/usr" % get.installDIR())
|
shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python3.8 --prefix=%s/usr" % get.installDIR())
|
||||||
|
|
||||||
shelltools.cd("..")
|
shelltools.cd("..")
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ def build():
|
|||||||
cflags=-fno-strict-aliasing \
|
cflags=-fno-strict-aliasing \
|
||||||
--layout=system")
|
--layout=system")
|
||||||
|
|
||||||
shelltools.cd("../boost-%s-36" % get.srcVERSION())
|
shelltools.cd("../boost-%s-38" % get.srcVERSION())
|
||||||
shelltools.system("./b2 \
|
shelltools.system("./b2 \
|
||||||
variant=release \
|
variant=release \
|
||||||
debug-symbols=off \
|
debug-symbols=off \
|
||||||
@@ -50,7 +50,7 @@ def build():
|
|||||||
runtime-link=shared \
|
runtime-link=shared \
|
||||||
link=shared,static \
|
link=shared,static \
|
||||||
toolset=gcc \
|
toolset=gcc \
|
||||||
python=3.6 \
|
python=3.8 \
|
||||||
cflags=-fno-strict-aliasing \
|
cflags=-fno-strict-aliasing \
|
||||||
--layout=system")
|
--layout=system")
|
||||||
|
|
||||||
@@ -58,14 +58,14 @@ def build():
|
|||||||
|
|
||||||
def install():
|
def install():
|
||||||
pisitools.dobin("b2")
|
pisitools.dobin("b2")
|
||||||
pisitools.dobin("bjam")
|
pisitools.dobin("tools/build/src/engine/bjam")
|
||||||
shelltools.copytree("tools/boostbook/xsl", "%s/usr/share/boostbook/xsl" % get.installDIR())
|
shelltools.copytree("tools/boostbook/xsl", "%s/usr/share/boostbook/xsl" % get.installDIR())
|
||||||
shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR())
|
shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR())
|
||||||
shelltools.system("./b2 install threading=multi link=shared")
|
shelltools.system("./b2 install threading=multi link=shared")
|
||||||
|
|
||||||
shelltools.cd("../boost-%s-36" % get.srcVERSION())
|
shelltools.cd("../boost-%s-38" % get.srcVERSION())
|
||||||
pisitools.dobin("b2")
|
pisitools.dobin("b2")
|
||||||
pisitools.dobin("bjam")
|
pisitools.dobin("tools/build/src/engine/bjam")
|
||||||
shelltools.copytree("tools/boostbook/xsl", "%s/usr/share/boostbook/xsl" % get.installDIR())
|
shelltools.copytree("tools/boostbook/xsl", "%s/usr/share/boostbook/xsl" % get.installDIR())
|
||||||
shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR())
|
shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR())
|
||||||
shelltools.system("./b2 install threading=multi link=shared")
|
shelltools.system("./b2 install threading=multi link=shared")
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Peer-reviewed portable C++ source libraries</Summary>
|
<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>
|
<Description>Boost provides free portable peer-reviewed C++ libraries. The emphasis is on portable libraries which work well with the C++ Standard Library.</Description>
|
||||||
<Archive sha1sum="b6b284acde2ad7ed49b44e856955d7b1ea4e9459" type="tarbz2">https://sourceforge.net/projects/boost/files/boost/1.66.0/boost_1_66_0.tar.bz2</Archive>
|
<Archive sha1sum="88866e4075e12255e7a7189d0b8a686e0b1ee9c1" type="tarbz2">https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>bzip2</Dependency>
|
<Dependency>bzip2</Dependency>
|
||||||
<Dependency>zlib-devel</Dependency>
|
<Dependency>zlib-devel</Dependency>
|
||||||
@@ -55,6 +55,7 @@
|
|||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="header">/usr/include</Path>
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/lib/cmake</Path>
|
||||||
<Path fileType="doc">/usr/share/doc/*/html</Path>
|
<Path fileType="doc">/usr/share/doc/*/html</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
@@ -67,7 +68,7 @@
|
|||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="library">/usr/lib/libboost_python.so*</Path>
|
<Path fileType="library">/usr/lib/libboost_python27.so*</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
@@ -79,11 +80,18 @@
|
|||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="library">/usr/lib/libboost_python3.so*</Path>
|
<Path fileType="library">/usr/lib/libboost_python38.so*</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="10">
|
||||||
|
<Date>2020-01-06</Date>
|
||||||
|
<Version>1.72.0</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="9">
|
<Update release="9">
|
||||||
<Date>2018-07-25</Date>
|
<Date>2018-07-25</Date>
|
||||||
<Version>1.66.0</Version>
|
<Version>1.66.0</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user