summaryrefslogtreecommitdiff
path: root/source/d/cmake/cmake.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/cmake/cmake.SlackBuild')
-rwxr-xr-xsource/d/cmake/cmake.SlackBuild17
1 files changed, 1 insertions, 16 deletions
diff --git a/source/d/cmake/cmake.SlackBuild b/source/d/cmake/cmake.SlackBuild
index b2075987..10c16128 100755
--- a/source/d/cmake/cmake.SlackBuild
+++ b/source/d/cmake/cmake.SlackBuild
@@ -76,26 +76,12 @@ find . \
mkdir cmake-build
cd cmake-build
-../bootstrap \
- --prefix=/usr \
- --docdir=/doc/$PKGNAM-$VERSION \
- --qt-gui \
- --system-curl \
- --system-expat \
- --no-system-jsoncpp \
- --system-zlib \
- --system-bzip2 \
- --system-libarchive || exit 1
-# --system-libs
-# --sphinx-man \
-
-
-# Build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
../configure \
--prefix=/usr \
--docdir=/doc/$PKGNAM-$VERSION \
+ --parallel=$(echo $NUMJOBS | cut -f 2 -d j | tr -d ' ') \
--qt-gui \
--system-curl \
--system-expat \
@@ -106,7 +92,6 @@ CXXFLAGS="$SLKCFLAGS" \
# --system-libs \
# --sphinx-man \
-
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1