summaryrefslogtreecommitdiff
path: root/source/l/boost/boost.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/boost/boost.SlackBuild')
-rwxr-xr-xsource/l/boost/boost.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/l/boost/boost.SlackBuild b/source/l/boost/boost.SlackBuild
index 231d3607..c80d1788 100755
--- a/source/l/boost/boost.SlackBuild
+++ b/source/l/boost/boost.SlackBuild
@@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=boost
VERSION=${VERSION:-$(echo $PKGNAM_*.tar.?z | rev | cut -f 3- -d . | rev | cut -f 2- -d _)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
PKG_VERSION=$(echo $VERSION | tr _ .) # Leave this alone
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -100,6 +100,7 @@ find . \
# # Next, we build boost using bjam
./b2 \
+ $NUMJOBS \
--layout=system \
--build-dir=build-python2 \
--prefix=/usr \
@@ -118,6 +119,7 @@ find . \
# # And then install boost..
./b2 \
+ $NUMJOBS \
--layout=system \
--build-dir=build-python2 \
--prefix=$PKG/usr \
@@ -145,6 +147,7 @@ sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VER
--with-libraries=python || exit 1
./b2 \
+ $NUMJOBS \
--layout=system \
--build-dir=build-python3 \
--prefix=/usr \
@@ -162,6 +165,7 @@ sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VER
stage || exit 1
./b2 \
+ $NUMJOBS \
--layout=system \
--build-dir=build-python3 \
--prefix=$PKG/usr \