Commits

Anonymous committed 28f4ca5

lyx build 2.0.5.1

Comments (0)

Files changed (1)

var/vabs/lyx/src/lyx.SlackBuild

 # AUTHORS = 
 
 NAME="lyx"            #Enter package Name!
-VERSION=${VERSION:-"2.0.5"}      #Enter package Version!
+VERSION=${VERSION:-"2.0.5.1"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
 LINK=${LINK:-"ftp://ftp.lyx.org/pub/$NAME/stable/2.0.x/$NAME-$VERSION.tar.xz"}  #Enter URL for package here!
 MAKEDEPENDS=${MAKEDEPENDS:-"qt"} #Add make deps for packaging
 #----------------------------------------------------------------------------
 
+NUMJOBS=${NUMJOBS:-"-j4"}
 if [ "$NORUN" != 1 ]; then
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
   --build=$CONFIGURE_TRIPLET \
   $CONFIG_OPTIONS || exit 1
 
-make || exit 1
+make $NUMJOBS || make || exit 1
 
 make install DESTDIR=$PKG || exit