diff options
Diffstat (limited to 'repo/devel')
-rw-r--r-- | repo/devel/boost.xibuild | 23 | ||||
-rw-r--r-- | repo/devel/uthash.xibuild | 15 |
2 files changed, 38 insertions, 0 deletions
diff --git a/repo/devel/boost.xibuild b/repo/devel/boost.xibuild new file mode 100644 index 0000000..b97cab7 --- /dev/null +++ b/repo/devel/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 mpi 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 +} diff --git a/repo/devel/uthash.xibuild b/repo/devel/uthash.xibuild new file mode 100644 index 0000000..e9dd494 --- /dev/null +++ b/repo/devel/uthash.xibuild @@ -0,0 +1,15 @@ +#!/bin/sh + +NAME="uthash" +DESC="C macros for hash tables and more" + +MAKEDEPS="make " +DEPS="rxvt-unicode" + +PKG_VER=2.3.0 +SOURCE="https://github.com/troydhanson/uthash/archive/v$PKG_VER.tar.gz" + +package () { + mkdir -p $PKG_DEST/usr/include + install -m 0644 src/*.h $PKG_DEST/usr/include/ +} |