Commits

Uelsk8s  committed 1edd733

added SW java to gcc-java

  • Participants
  • Parent commits 1f10aab

Comments (0)

Files changed (1)

File var/vabs/gcc-java/src/gcc-java.SlackBuild

   CONFIGURE_TRIPLET="i586-vector-linux"
   LIBDIRSUFFIX=""
   LIB_ARCH=i586
+  SWJAVA="http://slackware.cs.utah.edu/pub/slackware/slackware-14.0/slackware/d/gcc-java-4.7.1-i486-1.txz"
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fpic"
   CONFIGURE_TRIPLET="x86_64-vlocity-linux"
   LIBDIRSUFFIX="64"
   LIB_ARCH=amd64
+  SWJAVA="http://slackware.cs.utah.edu/pub/slackware/slackware64-14.0/slackware/d/gcc-java-4.7.1-x86_64-1.txz"
 elif [ "$ARCH" = "powerpc" ]; then
   SLKCFLAGS="-O2"
   CONFIGURE_TRIPLET="powerpc-vlocity-linux"
     *)    TARGET=$ARCH-vlocity-linux ;;
 esac
 #--------------------------------------------
-
+wget $SWJAVA
+installpkg $SWJAVA
+ln -s /usr/lib${LIBDESTDIR}/libmpc.so.3 /usr/lib${LIBDESTDIR}/libmpc.so.2
 
 #GET THE SOURCE
 #--------------------------------------------