Commits

Anonymous committed b30c9f1

Update libimobiledevice to 1.0.7

Signed-off-by: Lee Pak Hong <hata.ph@gmail.com>

Comments (0)

Files changed (1)

var/vabs/libimobiledevice/src/libimobiledevice.SlackBuild

 # AUTHORS = 
 
 NAME="libimobiledevice"            #Enter package Name!
-VERSION=${VERSION:-"1.0.4"}      #Enter package Version!
+VERSION=${VERSION:-"1.0.7"}      #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://www.libimobiledevice.org/downloads/$NAME-$VERSION.tar.bz2"}  #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:-"usbmuxd"} #Add deps needed TO BUILD this package here.
 #----------------------------------------------------------------------------
 
+# DO NOT EXECUTE if NORUN is set to 1
+if [ "$NORUN" != "1" ]; then
+
 
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 
 # Put any Patches into a patches folder in the src dir
 #-----------------------------------------------------
-for i in $CWD/patches/*;do
-	patch -p1 <$i
-done
+#for i in $CWD/patches/*;do
+#	patch -p1 <$i
+#done
 #-----------------------------------------------------
 
 
   --sysconfdir=/etc \
   --localstatedir=/var \
   --mandir=/usr/man \
-  --with-included-gettext \
-  --disable-debug \
   --program-prefix="" \
   --program-suffix="" \
   --build=$CONFIGURE_TRIPLET \
 
 
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
-cp -a ANNOUNCE* AUTHORS* BUGS* COPYING* ChangeLog* CHANGELOG* Credits* DEVELOPERS \
-LICENSE* MANIFEST PROVENANCE README* TODO* Exception_to_GPL_for_Qt.txt \
-$PKG/usr/doc/$NAME-$VERSION
+cp -a AUTHORS* COPYING* NEWS README* $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 
 #----------------------------------------------------------------------
 cd $CWD
 echo "Cleaning up temp files..." && rm -rf $TMP
 echo "Package Complete"
+fi
 #--------------------------------------------------------------
 
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##