mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
27 lines
799 B
Plaintext
Executable File
27 lines
799 B
Plaintext
Executable File
# description : A set of free peer-reviewed portable C++ source libraries
|
|
# depends : zlib bzip2 which icu python3
|
|
|
|
name=boost
|
|
version=1.84.0
|
|
vrsn=$(echo $version | sed 's/\./_/g')
|
|
release=1
|
|
source="$name-$version.tar.bz2::https://boostorg.jfrog.io/artifactory/main/release/$version/source/boost_${vrsn}.tar.bz2"
|
|
|
|
build() {
|
|
cd boost_${vrsn}
|
|
|
|
# Fix boost breaks the few packages which use the phoenix module
|
|
sed -i '/#include.*phoenix.*tuple.hpp.*/d' boost/phoenix/stl.hpp
|
|
|
|
./bootstrap.sh --prefix=/usr --with-python=python3
|
|
|
|
./b2 stage ${MAKEFLAGS} threading=multi link=shared
|
|
|
|
# Older cmake directories need to be explicitly removed
|
|
rm -rf /usr/lib/cmake/[Bb]oost*
|
|
|
|
./b2 install --prefix=$PKG/usr threading=multi link=shared
|
|
|
|
ln -sv detail/sha1.hpp $PKG/usr/include/boost/uuid/sha1.hpp
|
|
}
|