summaryrefslogtreecommitdiff
path: root/repo/devel/boost/boost.xibuild
blob: 82d450f0b4729da9bc76d0378b63d7b5933d6e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="boost"
DESC="Free peer-reviewed portable C++ source libraries"

MAKEDEPS="make python which zlib icu"
DEPS="musl gcc bzip2 zlib python icu"

PKG_VER=1.79.0
SOURCE="https://boostorg.jfrog.io/artifactory/main/release/$PKG_VER/source/boost_$(echo $PKG_VER | sed "s/\./_/g").tar.bz2"
ADDITIONAL="python-3.10.patch 0001-revert-cease-dependence-on-range.patch boost-1.57.0-python-libpython_dep.patch boost-1.57.0-python-abi_letters.patch "

prepare () {
    ./bootstrap.sh --prefix=/usr --with-python=python3 
}

build () {
    ./b2 --debug-building --no-cmake-config --toolset=gcc runtime-link=shared link=shared,static
}

package () {
    ./b2 install --prefix=$PKG_DEST/usr
}