summaryrefslogtreecommitdiff
path: root/repo/boost/boost.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/boost/boost.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/boost/boost.xibuild')
-rw-r--r--repo/boost/boost.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/boost/boost.xibuild b/repo/boost/boost.xibuild
new file mode 100644
index 0000000..82d450f
--- /dev/null
+++ b/repo/boost/boost.xibuild
@@ -0,0 +1,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
+}