Commits

M0E-lnx  committed f116d6e

mono-zeroconf add LINK and build

  • Participants
  • Parent commits e01cfe4

Comments (0)

Files changed (1)

File var/vabs/mono-zeroconf/src/mono-zeroconf.SlackBuild

 VERSION=${VERSION:-"0.9.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://download.banshee-project.org/${NAME}/$NAME-$VERSION.tar.bz2"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-"mono >= 2.6.4, avahi >= 0.6.28"} #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="avahi mono"
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
-
+if [ "$NORUN" != 1 ]; then
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 
 echo "Configuring source..."
 ./configure --prefix=/usr \
+  --libdir=/usr/lib${LIBDIRSUFFIX} \
   --infodir=/usr/info \
   --sysconfdir=/etc \
   --localstatedir=/var \
   --build=$CONFIGURE_TRIPLET \
   $CONFIG_OPTIONS || exit 1
 
-make || exit 1
+make || exit 1 # DO NOT USE NUMJOBS ON THIS ONE
 
 make install DESTDIR=$PKG || exit
 
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
+fi