boost 1.86.0-1
This commit is contained in:
parent
b932dc8ece
commit
1e8fe8ddea
38
PKGBUILD
38
PKGBUILD
@ -5,39 +5,39 @@
|
|||||||
|
|
||||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||||
pkgname=boost
|
pkgname=boost
|
||||||
pkgver=1.85.0
|
pkgver=1.86.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Free peer-reviewed portable C++ source libraries"
|
pkgdesc="Free peer-reviewed portable C++ source libraries"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://www.boost.org"
|
url="https://www.boost.org"
|
||||||
license=('custom')
|
license=('BSL-1.0')
|
||||||
depends=('icu' 'python' 'bzip2' 'zlib' 'zstd')
|
depends=('icu' 'python' 'bzip2' 'zlib' 'zstd')
|
||||||
source=(https://github.com/boostorg/boost/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}-b2-nodocs.tar.xz)
|
source=(https://github.com/boostorg/boost/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}-b2-nodocs.tar.xz)
|
||||||
sha256sums=(09f0628bded81d20b0145b30925d7d7492fd99583671586525d5d66d4c28266a)
|
sha256sums=(a4d99d032ab74c9c5e76eddcecc4489134282245fffa7e079c5804b92b45f51d)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
./bootstrap.sh \
|
./bootstrap.sh \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=/usr/lib64 \
|
--libdir=/usr/lib64 \
|
||||||
--with-python=python3 \
|
--with-python=python3 \
|
||||||
--with-icu \
|
--with-icu \
|
||||||
--with-toolset=gcc \
|
--with-toolset=gcc \
|
||||||
--with-python-version="$(python3 -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
|
--with-python-version="$(python3 -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
|
||||||
|
|
||||||
./b2 stage ${MAKEFLAGS} threading=multi link=shared runtime-link=shared toolset=gcc --cxxflags="${CXXFLAGS} ${LDFLAGS}"
|
./b2 stage ${MAKEFLAGS} threading=multi link=shared runtime-link=shared toolset=gcc --cxxflags="${CXXFLAGS} ${LDFLAGS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
./b2 install \
|
./b2 install \
|
||||||
threading=multi \
|
threading=multi \
|
||||||
link=shared \
|
link=shared \
|
||||||
toolset=gcc \
|
toolset=gcc \
|
||||||
runtime-link=shared \
|
runtime-link=shared \
|
||||||
cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3 -ffat-lto-objects" \
|
cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3 -ffat-lto-objects" \
|
||||||
cxxflags="${CPPFLAGS} ${CXXFLAGS} -fPIC -O3 -ffat-lto-objects" \
|
cxxflags="${CPPFLAGS} ${CXXFLAGS} -fPIC -O3 -ffat-lto-objects" \
|
||||||
linkflags="${LDFLAGS}" \
|
linkflags="${LDFLAGS}" \
|
||||||
--prefix=${pkgdir}/usr \
|
--prefix=${pkgdir}/usr \
|
||||||
|
Loading…
Reference in New Issue
Block a user