1. VectorLinux Core
  2. vabs

Commits

M0E-lnx  committed 78d61b1

fix wxWidgets SB

  • Participants
  • Parent commits 526d8b8
  • Branches veclinux-7.1

Comments (0)

Files changed (1)

File var/vabs/wxWidgets/src/wxWidgets.SlackBuild

View file
  • Ignore whitespace
 VERSION=${VERSION:-"2.9.4"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"M0E-lnx"}   #Enter your Name!
-LINK=${LINK:-"http://downloads.sourceforge.net/project/wxwindows/$VERSION/$NAME-$VERSION.tar.bz2?r=http%3A%2F%2Fwww.wxwidgets.org%2Fdownloads%2F"}  #Enter URL for package here!
+LINK=${LINK:-"http://downloads.sourceforge.net/project/wxwindows/$VERSION/$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:-"ffmpeg"}
-#----------------------------------------------------------------------------
+MAKEDEPENDS=${MAKEDEPENDS:-"glu gstreamer webkitgtk"}
+NUMJOBS=${NUMJOBS:-"-j6"}
 
+#----------------------------------------------------------------------------
 
+if [ "$NORUN" != 1 ]; then
 #SETUP PACKAGING ENVIRONMENT
 #--------------------------------------------
 CWD=$(pwd)
 #-----------------------------------------------------------------------
 
 echo "Configuring source..."
-./configure --prefix=/usr \
+CPPFLAGS="-L/usr/lib${LIBDIRSUFFIX}/gstreamer-0.10" ./configure --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --infodir=/usr/info \
   --sysconfdir=/etc \
   --build=$CONFIGURE_TRIPLET \
   $CONFIG_OPTIONS || exit 1
 
-make || exit 1
+make $NUMJOBS || make || exit 1
 
 make install DESTDIR=$PKG || exit 1
-make -C contrib/src/ || exit 1
-make -C contrib/src/ install DESTDIR=$PKG || exit 1
+#make -C contrib/src/ || exit 1
+#make -C contrib/src/ install DESTDIR=$PKG || exit 1
 
 #######################################################################
 #Miscellenious tweaks and things outside a normal ./configure go here #
 echo "Cleaning up temp files..." && rm -rf $TMP
 echo "Package Complete"
 #--------------------------------------------------------------
-
+fi
 # vim: set tabstop=4 shiftwidth=4 foldmethod=marker : ##