2016-02-24 01:27:23 +01:00
|
|
|
# Description: Boost provides a set of free peer-reviewed portable C++ source libraries.
|
|
|
|
# URL: http://boost.sourceforge.net/
|
2016-06-02 02:54:02 +02:00
|
|
|
# Packager: tnut at nutyx dot org
|
2016-02-24 01:27:23 +01:00
|
|
|
# Depends on: icu python
|
|
|
|
|
|
|
|
name=boost
|
|
|
|
version=1.60.0
|
|
|
|
release=1
|
|
|
|
|
|
|
|
source=(http://downloads.sourceforge.net/$name/${name}_${version//./_}.tar.bz2)
|
|
|
|
build() {
|
|
|
|
cd ${name}_${version//./_}
|
|
|
|
sed -e '1 i#ifndef Q_MOC_RUN' \
|
|
|
|
-e '$ a#endif' \
|
|
|
|
-i boost/type_traits/detail/has_binary_operator.hpp
|
|
|
|
|
|
|
|
./bootstrap.sh --prefix=/usr &&
|
|
|
|
./b2 stage --stagedir=$PKG/usr threading=multi link=shared
|
|
|
|
./b2 install --prefix=$PKG/usr threading=multi link=shared
|
|
|
|
}
|