Commits

M0E-lnx  committed 3c000fd

libgpod-sharp add LINK and update to 0.8.2

  • Participants
  • Parent commits e159a23

Comments (0)

Files changed (1)

File var/vabs/libgpod-sharp/src/libgpod-sharp.SlackBuild

 # AUTHORS = 
 
 NAME="libgpod-sharp"            #Enter package Name!
-VERSION=${VERSION:-"0.8.0"}      #Enter package Version!
+VERSION=${VERSION:-"0.8.2"}      #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://downloads.sourceforge.net/project/gtkpod/libgpod/libgpod-0.8/libgpod-$VERSION.tar.bz2"}  #Enter URL for package here!
 
 
 #SYSTEM VARIABLES
 LDFLAG_OPTIONS=${LDFLAG_OPTIONS:-""}
 ADDRB=${ADDRB:-"libgpod >= 0.8.0, mono >= 2.6.4, gtk-sharp >= 2.12.9"} #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="sqlite libgpod libplist gtk-sharp mono"
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
-
+if [ "$NORUN" != 1 ]; then
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 mkdir -p $RELEASEDIR/tmp
 TMP=$RELEASEDIR/tmp
 PKG=$TMP/package-$NAME
-PKG1=$TMP/package-$NAME'1'
+#PKG1=$TMP/package-$NAME'1'
 #--------------------------------------------
 
 
 #--------------------------------------------
 
 
-rm -rf $PKG $PKG1
-mkdir -p $PKG $PKG1
+rm -rf $PKG #$PKG1
+mkdir -p $PKG #$PKG1
 cd $TMP
 rm -rf libgpod-$VERSION
 
 echo "Configuring source..."
 ./configure --prefix=/usr \
   --infodir=/usr/info \
+  --libdir=/usr/lib${LIBDIRSUFFIX} \
   --sysconfdir=/etc \
   --localstatedir=/var \
   --mandir=/usr/man \
 
 make || exit 1
 
-make install DESTDIR=$PKG1 || exit
+make install DESTDIR=$PKG || exit
 
 
 #######################################################################
 #Miscellenious tweaks and things outside a normal ./configure go here #
 #######################################################################
 
-mkdir -p $PKG/usr/lib/pkgconfig
-cp -a $PKG1/usr/lib/pkgconfig/*-sharp.pc $PKG/usr/lib/pkgconfig/
-mkdir -p $PKG/usr/lib/libgpod
-cp -a $PKG1/usr/lib/libgpod/* $PKG/usr/lib/libgpod/
+#mkdir -p $PKG/usr/lib/pkgconfig
+#cp -a $PKG1/usr/lib/pkgconfig/*-sharp.pc $PKG/usr/lib/pkgconfig/
+#mkdir -p $PKG/usr/lib/libgpod
+#cp -a $PKG1/usr/lib/libgpod/* $PKG/usr/lib/libgpod/
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
 cp -a ANNOUNCE* AUTHORS* BUGS* COPYING* ChangeLog* CHANGELOG* Credits* DEVELOPERS \
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##
+fi