Commits

Anonymous committed f98bf4c

libgda update to 5.1.2

  • Participants
  • Parent commits 6fa1810

Comments (0)

Files changed (1)

var/vabs/libgda/src/libgda.SlackBuild

 # Please put your name below if you add some original scripting lines.
 # AUTHORS = 
 
-NAME="libgda"  
-VERSIONBASE="5.0"          #Enter package Name!
-VERSION=${VERSION:-"5.0.3"}      #Enter package Version!
+NAME="libgda"  #Enter package Name!
+VERSION=${VERSION:-"5.1.2"}      #Enter package Version!
+VERSIONBASE=$(echo $VERSION | cut -f 1-2 -d .)
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"stretchedthin"}   #Enter your Name!
 LINK=${LINK:-"http://ftp.acc.umu.se/pub/GNOME/sources/$NAME/$VERSIONBASE/$NAME-$VERSION.tar.xz"}  #Enter URL for package here!
 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:-"libgnome-keyring gnome-keyring3 goocanvas gtk+3 graphviz gtksourceview libsoup libunique postgresql"} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"libgnome-keyring gnome-keyring3 goocanvas gtk+3 graphviz gtksourceview libsoup libunique postgresql mysql"} #Add deps needed TO BUILD this package here.
+NUMJOBS=${NUMJOBS:-"-j6"}
 #----------------------------------------------------------------------------
 
 # DO NOT EXECUTE if NORUN is set to 1
   --with-libsoup \
   --with-gnome-keyring \
   --enable-system-sqlite \
-  --enable-introspection=no \
+  --enable-introspection=yes \
   || exit 1
 
-make ${NUMJOBS} || make || exit 1
+make ${NUMJOBS} ||  exit 1
 make DESTDIR=$PKG install || exit 1
 
 # Clean up and preserve settings
-rm $PKG/etc/libgda-4.0/sales_test.db
-mv $PKG/etc/libgda-4.0/config $PKG/etc/libgda-4.0/config.new
+rm $PKG/etc/libgda-5.0/sales_test.db || exit 1
+mv $PKG/etc/libgda-5.0/config $PKG/etc/libgda-5.0/config.new || exti 1
 
 #######################################################################
 #Miscellenious tweaks and things outside a normal ./configure go here #