Commits

Anonymous committed 2e578cf

boo add link and build 0.9.4.9

  • Participants
  • Parent commits 9029601

Comments (0)

Files changed (1)

var/vabs/boo/src/boo.SlackBuild

 VERSION=${VERSION:-"0.9.4.9"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
-LINK=${LINK:-""}  #Enter URL for package here!
+LINK=${LINK:-"http://dist.codehaus.org/${NAME}/distributions/${NAME}-${VERSION}.tar.gz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"2"}
+BUILDNUM=${BUILDNUM:-"1"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=${ARCH:-"$(uname -m)"}
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-"mono >= 2.6.4"} #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=""
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
-
+if [ "$NORUN" != 1 ]; then
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 ./configure --prefix=/usr \
   --infodir=/usr/info \
   --sysconfdir=/etc \
+  --libdir=/usr/lib${LIBDIRSUFFIX} \
   --localstatedir=/var \
   --mandir=/usr/man \
   --program-prefix="" \
   --build=$CONFIGURE_TRIPLET \
   $CONFIG_OPTIONS || exit 1
 
-make || exit 1
+make $NUMJOBS || exit 1
 
 make install DESTDIR=$PKG || exit
 
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
+fi