diff options
| author | Shokara Kou <kou@13f0.net> | 2022-04-23 11:33:05 -0400 |
|---|---|---|
| committer | Shokara Kou <kou@13f0.net> | 2022-12-10 16:12:53 -0500 |
| commit | bb318660e3fc7997d37b3be9b3d8a0e901ddca5f (patch) | |
| tree | 18fa504a5eed7cc77a065334c1f099c1f7299934 /boost/Pkgfile | |
| parent | 636ee91eb3c6b6b99301070cd1cf1e423312486a (diff) | |
boost: removed, already in contrib repo
Diffstat (limited to 'boost/Pkgfile')
| -rw-r--r-- | boost/Pkgfile | 42 |
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 | |||
| 6 | name=boost | ||
| 7 | version=1.76.0 | ||
| 8 | release=2 | ||
| 9 | source=(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 | |||
| 14 | build() { | ||
| 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=" | ||
| 24 | variant=release \ | ||
| 25 | threading=multi \ | ||
| 26 | runtime-link=static \ | ||
| 27 | link=shared,static \ | ||
| 28 | debug-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 | } | ||
