1
0
forked from ports/contrib
contrib-tek/boost/Pkgfile

28 lines
659 B
Plaintext
Raw Normal View History

# Description: Free peer-reviewed portable C++ source libraries.
2007-12-16 17:56:50 +11:00
# URL: http://www.boost.org/
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
2018-11-10 22:47:00 +11:00
# Depends on: python
# Optional: icu
name=boost
2018-12-26 18:10:06 +11:00
version=1.69.0
2012-10-20 16:21:33 +11:00
release=1
2017-12-24 19:39:56 +11:00
source=(https://dl.bintray.com/boostorg/release/$version/source/${name}_${version//./_}.tar.bz2)
build() {
2010-11-13 15:04:55 +11:00
cd ${name}_${version//./_}
2007-07-22 22:46:23 +10:00
2018-11-10 22:47:00 +11:00
local ICU=$([ -e /usr/bin/icu-config ] && echo --with-icu)
./bootstrap.sh --prefix=$PKG/usr --with-toolset=gcc $ICU
2016-12-29 10:37:57 +11:00
./b2 stage \
variant=release \
threading=multi \
runtime-link=shared \
link=shared,static \
debug-symbols=off \
2017-12-24 19:39:56 +11:00
-j ${JOBS-1}
2016-12-29 10:37:57 +11:00
2015-01-31 12:58:54 +11:00
./b2 install threading=multi link=shared
}