boost: it's python_ver*sion* not python_ver

This commit is contained in:
Jürgen Buchmüller 2020-05-24 04:53:02 +02:00
parent 03f6dd3241
commit cc2b09c2a8

View file

@ -11,6 +11,7 @@ license="BSL-1.0"
homepage="http://www.boost.org/"
distfiles="https://dl.bintray.com/boostorg/release/${version}/source/boost_${version//./_}.tar.bz2"
checksum=59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722
python_version=3
CXXFLAGS="-std=c++14"
@ -97,6 +98,7 @@ do_install() {
boost-jam_package() {
short_desc+=" - Boost.Jam utility"
depends="boost-build>=${version}_${revision}"
python_version=3
pkg_install() {
vmove usr/bin/bjam
vmove usr/bin/b2
@ -106,7 +108,7 @@ boost-python1.72_package() {
depends="boost python"
replaces="boost-python>=0"
short_desc+=" - Python bindings"
python_ver=2
python_version=2
pkg_install() {
vmove "usr/lib/libboost_python2*.so.*"
}