contrib/boost/Pkgfile
2018-12-26 21:32:04 +11:00

28 lines
659 B
Plaintext

# Description: Free peer-reviewed portable C++ source libraries.
# URL: http://www.boost.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python
# Optional: icu
name=boost
version=1.69.0
release=1
source=(https://dl.bintray.com/boostorg/release/$version/source/${name}_${version//./_}.tar.bz2)
build() {
cd ${name}_${version//./_}
local ICU=$([ -e /usr/bin/icu-config ] && echo --with-icu)
./bootstrap.sh --prefix=$PKG/usr --with-toolset=gcc $ICU
./b2 stage \
variant=release \
threading=multi \
runtime-link=shared \
link=shared,static \
debug-symbols=off \
-j ${JOBS-1}
./b2 install threading=multi link=shared
}