Commits

Anonymous committed 4ecc556

Rebuild libkolab

Signed-off-by: Lee Pak Hong <hata.ph@gmail.com>

Comments (0)

Files changed (1)

var/vabs/libkolab/src/libkolab.SlackBuild

 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-"libkolabxml kdelibs"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"cmake libkolabxml kdepimlibs"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1
 PKG=$TMP/package-$NAME
 #--------------------------------------------
 
+NUMJOBS=${NUMJOBS:--j7}
+
 PY_SITEARCH=$(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
 
 if [ $UID != 0 ]; then
     -DPYTHON_BINDINGS=ON \
     -DPYTHON_INSTALL_DIR=${PY_SITEARCH} \
     ..
-   make || exit 1
+   make $NUMJOBS || make || exit 1
    make install DESTDIR=$PKG || exit 1
 cd ..