summaryrefslogtreecommitdiff
path: root/boost/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'boost/Pkgfile')
-rw-r--r--boost/Pkgfile42
1 files changed, 0 insertions, 42 deletions
diff --git a/boost/Pkgfile b/boost/Pkgfile
deleted file mode 100644
index 91b294d..0000000
--- a/boost/Pkgfile
+++ /dev/null
@@ -1,42 +0,0 @@
1# Description: Free peer-reviewed portable C++ source libraries.
2# URL: https://www.boost.org/
3# Maintainer: Shokara Kou, shokara at kalli dot st
4# Packager: Danny Rawlins, crux at romster dot me
5
6name=boost
7version=1.76.0
8release=2
9source=(https://boostorg.jfrog.io/artifactory/main/release/$version/source/${name}_${version//./_}.tar.bz2
10 boost-1.74-CVE-2012-2677.patch
11 boost-1.71.0-disable_icu_rpath.patch
12 boost-ublas-c++20-iterator.patch)
13
14build() {
15 cd ${name}_${version//./_}
16
17 patch -p1 -i $SRC/boost-1.74-CVE-2012-2677.patch
18 patch -p1 -i $SRC/boost-1.71.0-disable_icu_rpath.patch
19
20 # https://github.com/boostorg/ublas/commit/a31e5cffa85f.patch
21 patch -p2 -i $SRC/boost-ublas-c++20-iterator.patch
22
23 local config="
24variant=release \
25threading=multi \
26runtime-link=static \
27link=shared,static \
28debug-symbols=off \
29-j ${JOBS-1}"
30
31 ./bootstrap.sh \
32 --prefix=$PKG/usr \
33 --without-libraries=python \
34 --without-icu
35
36 ./b2 stage $config
37 ./b2 install threading=multi link=shared
38 ./b2 install threading=multi link=static
39
40 install -m 0755 -D b2 $PKG/usr/bin/b2
41 ln -s b2 $PKG/usr/bin/bjam
42}