Commits

Anonymous committed dcb2524

daq add download link

  • Participants
  • Parent commits 17a77ad

Comments (0)

Files changed (1)

var/vabs/daq/src/daq.SlackBuild

 # AUTHORS = 
 
 NAME="daq"            #Enter package Name!
-VERSION=${VERSION:-"0.5"}      #Enter package Version!
+VERSION=${VERSION:-"2.0.0"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"stretchedthin"}   #Enter your Name!
-LINK=${LINK:-""}  #Enter URL for package here!
+LINK=${LINK:-"http://www.snort.org/downloads/2103"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 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:-"libpcap"}
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
 
 for SRC in $(echo $LINK);do
 if [ ! -f $CWD/$(basename $SRC) ]
 then
-        wget --no-check-certificate -c $SRC
+        wget --no-check-certificate -c $SRC -O ${NAME}-${VERSION}.tar.gz
 fi
 done
 #--------------------------------------------
   --build=$CONFIGURE_TRIPLET \
   $CONFIG_OPTIONS || exit 1
 
-make || exit 1
+make ${NUMJOBS} || make || exit 1
 
 make install DESTDIR=$PKG || exit 1
 
 echo "Package Complete"
 #--------------------------------------------------------------
 
-# vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
+# vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##