Commits

Anonymous committed 0d3ba53

taglib add fix SB and update to 2.1.0.0

Comments (0)

Files changed (1)

var/vabs/taglib-sharp/src/taglib-sharp.SlackBuild

 # AUTHORS = 
 
 NAME="taglib-sharp"            #Enter package Name!
-VERSION=${VERSION:-"2.0.3.7"}      #Enter package Version!
+VERSION=${VERSION:-"2.1.0.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}/$VERSION/${NAME}-${VERSION}.tar.bz2"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-"mono >= 2.6.4, taglib >= 1.6.3"} #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="mono taglib"
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
-
+if [ "$NORUN" != 1 ]; then
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 CWD=$(pwd)
 
 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 $NUMJOBS || exit 1
 
 make install DESTDIR=$PKG || exit
 
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
+fi