contrib/boost/Pkgfile
2018-02-21 22:30:01 +11:00

26 lines
593 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: icu python
name=boost
version=1.66.0
release=1
source=(https://dl.bintray.com/boostorg/release/$version/source/${name}_${version//./_}.tar.bz2)
build() {
cd ${name}_${version//./_}
./bootstrap.sh --prefix=$PKG/usr --with-toolset=gcc --with-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
}