diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-02-22 16:52:54 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-02-22 16:52:54 +0800 |
| commit | adada347b8e07631f573b8ea4f05cb2c77f7a781 (patch) | |
| tree | 96451474670528487083fbf57e14ba4d3d387217 /repos/extra/boost/abuild | |
| parent | 5b6cf1d4a79d80ea9c6f9e4ab9653875423fe4cb (diff) | |
| download | alicelinux-adada347b8e07631f573b8ea4f05cb2c77f7a781.tar.gz alicelinux-adada347b8e07631f573b8ea4f05cb2c77f7a781.zip | |
boost: new added
Diffstat (limited to 'repos/extra/boost/abuild')
| -rwxr-xr-x | repos/extra/boost/abuild | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/repos/extra/boost/abuild b/repos/extra/boost/abuild new file mode 100755 index 00000000..7e4f8833 --- /dev/null +++ b/repos/extra/boost/abuild @@ -0,0 +1,14 @@ +name=boost +version=1.87.0 +v=$(echo $version | sed 's/\./_/g') +release=1 +source="https://archives.boost.io/release/${version}/source/boost_${v}.tar.gz" + +build() { + 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 + ./b2 install --prefix=$PKG/usr threading=multi link=shared +} |