1. VectorLinux Core
  2. vabs

Commits

M0E-lnx  committed 166f871

dbus-sharp-glib add download URL

  • Participants
  • Parent commits 84c28c1
  • Branches veclinux-7.1

Comments (0)

Files changed (1)

File var/vabs/dbus-sharp-glib/src/dbus-sharp-glib.SlackBuild

View file
 VERSION=${VERSION:-"0.5.0"}      #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://github.com/downloads/mono/dbus-sharp/${NAME}-${VERSION}.tar.gz"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-"mono >= 2.6.4, dbus-sharp >= 0.7.0"} #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="dbus-sharp mono"
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
-
+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
 
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
+fi