🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
pkgname: boost
pkgver: '1.91.0'
pkgrel: '1'
pkgdesc: 'Boost provides a set of free peer-reviewed portable C++ source libraries.'
url: 'https://boost.sourceforge.net/'
arch: x86_64
depends: []
makedepends:
- icu
- python
source:
- 'https://archives.boost.io/release/1.87.0/source/${pkgname}_1_87_0.tar.gz'
- 'https://archives.boost.io/release/${pkgver}/source/${pkgname}_1_91_0.tar.gz'
sha256sums:
- SKIP
- SKIP
build: |
sed -i '/#include.*phoenix.*tuple.hpp.*/d' \
${pkgname}_1_91_0/boost/phoenix/stl.hpp
sed -i '/#include.*phoenix.*tuple.hpp.*/d' \
${pkgname}_1_87_0/boost/phoenix/stl.hpp
cd ${pkgname}_1_87_0
./bootstrap.sh --prefix=${PKGDIR}/usr/local --with-toolset=gcc --with-python=python3
./b2 stage -j8 variant=release threading=multi \
link=shared,static debug-symbols=off -j ${JOBS-1}
./b2 install threading=multi link=shared
cd ../${pkgname}_1_91_0
./bootstrap.sh --prefix=${PKGDIR}/usr --with-toolset=gcc --with-python=python3
./b2 stage -j8 variant=release threading=multi \
link=shared,static debug-symbols=off -j ${JOBS-1}
./b2 install threading=multi link=shared
ln -svf detail/sha1.hpp ${PKGDIR}/usr/include/boost/uuid/sha1.hpp
package: |
cd .
for lib in date_time filesystem atomic locale chrono thread program_options \
regex system
do
cp -v ${PKGDIR}/usr/local/lib/libboost_$lib.so.1.87.0 \
${PKGDIR}/usr/lib/
done
rm -r ${PKGDIR}/usr/local