milis/talimatname/genel/boost/talimat

21 lines
634 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Boost paketi C++ için özgür ve taşınabilir kaynak kütüphanelerinden oluşan bir settir.
# URL: http://boost.sourceforge.net/
# Packager: tnut at nutyx dot org
# 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
}