boost: it's python_ver*sion* not python_ver
This commit is contained in:
parent
03f6dd3241
commit
cc2b09c2a8
1 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,7 @@ license="BSL-1.0"
|
||||||
homepage="http://www.boost.org/"
|
homepage="http://www.boost.org/"
|
||||||
distfiles="https://dl.bintray.com/boostorg/release/${version}/source/boost_${version//./_}.tar.bz2"
|
distfiles="https://dl.bintray.com/boostorg/release/${version}/source/boost_${version//./_}.tar.bz2"
|
||||||
checksum=59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722
|
checksum=59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722
|
||||||
|
python_version=3
|
||||||
|
|
||||||
CXXFLAGS="-std=c++14"
|
CXXFLAGS="-std=c++14"
|
||||||
|
|
||||||
|
@ -97,6 +98,7 @@ do_install() {
|
||||||
boost-jam_package() {
|
boost-jam_package() {
|
||||||
short_desc+=" - Boost.Jam utility"
|
short_desc+=" - Boost.Jam utility"
|
||||||
depends="boost-build>=${version}_${revision}"
|
depends="boost-build>=${version}_${revision}"
|
||||||
|
python_version=3
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/bjam
|
vmove usr/bin/bjam
|
||||||
vmove usr/bin/b2
|
vmove usr/bin/b2
|
||||||
|
@ -106,7 +108,7 @@ boost-python1.72_package() {
|
||||||
depends="boost python"
|
depends="boost python"
|
||||||
replaces="boost-python>=0"
|
replaces="boost-python>=0"
|
||||||
short_desc+=" - Python bindings"
|
short_desc+=" - Python bindings"
|
||||||
python_ver=2
|
python_version=2
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/libboost_python2*.so.*"
|
vmove "usr/lib/libboost_python2*.so.*"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue