contrib/boost/Pkgfile

30 lines
762 B
Plaintext
Raw Normal View History

# Description: Free peer-reviewed portable C++ source libraries.
2007-12-16 07:56:50 +01:00
# URL: http://www.boost.org/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: sten, nick dot steeves at shaw dot ca
2015-01-31 02:58:54 +01:00
# Depends on: icu python
name=boost
2017-09-16 10:15:42 +02:00
version=1.65.1
2012-10-20 07:21:33 +02:00
release=1
2010-12-24 12:49:57 +01:00
source=(http://downloads.sourceforge.net/project/$name/$name/$version/${name}_${version//./_}.tar.bz2)
build() {
2010-11-13 05:04:55 +01:00
cd ${name}_${version//./_}
2007-07-22 14:46:23 +02:00
2015-01-31 02:58:54 +01:00
local JOBS=$(awk 'BEGIN{RS="-j|--jobs="} NR==2 {print $1}' <<< $MAKEFLAGS)
test -n "$JOBS" && export JOBS="-j $JOBS"
2015-01-31 02:58:54 +01:00
./bootstrap.sh --prefix=$PKG/usr --with-toolset=gcc --with-icu
2016-12-29 00:37:57 +01:00
./b2 stage \
variant=release \
threading=multi \
runtime-link=shared \
link=shared,static \
debug-symbols=off \
$JOBS
2015-01-31 02:58:54 +01:00
./b2 install threading=multi link=shared
}