mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:17:46 +00:00
Ports: Add port for the Boost C++ libraries
This currently requires GCC.
This commit is contained in:
parent
de6048b7d3
commit
8cc952b3dc
7 changed files with 294 additions and 0 deletions
33
Ports/boost/package.sh
Executable file
33
Ports/boost/package.sh
Executable file
|
@ -0,0 +1,33 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='boost'
|
||||
version='1.80.0'
|
||||
useconfigure='true'
|
||||
workdir="boost_${version//./_}"
|
||||
depends=(
|
||||
'zlib'
|
||||
'bzip2'
|
||||
'zstd'
|
||||
'xz'
|
||||
'libicu'
|
||||
'python3'
|
||||
)
|
||||
files="https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${version//./_}.tar.bz2 boost_${version//./_}.tar.bz2 1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0"
|
||||
auth_type='sha256'
|
||||
bjamopts=(
|
||||
'--user-config=user-config.jam'
|
||||
'toolset=gcc'
|
||||
'target-os=serenity'
|
||||
)
|
||||
|
||||
configure() {
|
||||
run ./bootstrap.sh --with-icu=${DESTDIR}/usr/local --prefix=${DESTDIR}/usr/local
|
||||
echo "using gcc : : $CXX ;" >$workdir/user-config.jam
|
||||
}
|
||||
|
||||
build() {
|
||||
run ./b2 "${bjamopts[@]}"
|
||||
}
|
||||
|
||||
install() {
|
||||
run ./b2 "${bjamopts[@]}" install
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue