Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

ponce

By: a guest on Dec 2nd, 2010  |  syntax: Diff  |  size: 1.34 KB  |  views: 50  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- FreeCAD.SlackBuild.orig     2010-06-16 07:22:11.000000000 +0200
  2. +++ FreeCAD.SlackBuild  2010-12-02 12:50:49.980006214 +0100
  3. @@ -5,11 +5,12 @@
  4.  # revision date: 2010/05/05
  5.  
  6.  PRGNAM=FreeCAD
  7. -VERSION=0.9.2646
  8. +SRCNAM=freecad
  9. +VERSION=0.10.3205
  10.  BUILD=${BUILD:-1}
  11.  TAG=${TAG:-_SBo}
  12.  
  13. -SRCVERSION=${VERSION}.5
  14. +SRCVERSION=${VERSION}
  15.  
  16.  # Automatically determine the architecture we're building on:
  17.  if [ -z "$ARCH" ]; then
  18. @@ -46,7 +47,7 @@
  19.  mkdir -p $TMP $PKG $OUTPUT
  20.  cd $TMP
  21.  rm -rf $PRGNAM-$VERSION
  22. -tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
  23. +tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz
  24.  cd $PRGNAM-$VERSION
  25.  chown -R root:root .
  26.  chmod -R u+w,go+r-w,a-s .
  27. @@ -57,6 +58,7 @@
  28.  
  29.  ./autogen.sh
  30.  
  31. +LD='gcc ${BUILD64}' \
  32.  CFLAGS="$SLKCFLAGS" \
  33.  CXXFLAGS="$SLKCFLAGS" \
  34.  ./configure \
  35. @@ -69,6 +71,7 @@
  36.    --with-occ-lib=/usr/lib${LIBDIRSUFFIX} \
  37.    --with-occ-include=/usr/include/OpenCASCADE \
  38.    --with-qt4-dir=$QT4DIR \
  39. +  --disable-debug \
  40.    --build=$ARCH-slackware-linux
  41.  
  42.  make
  43. @@ -79,7 +82,7 @@
  44.  
  45.  # Move icon & copy desktop file
  46.  mkdir -p $PKG/usr/share/{applications,pixmaps}
  47. -mv $PKG/opt/$PRGNAM/share/FCIcon.xpm $PKG/usr/share/pixmaps/
  48. +mv $PKG/opt/$PRGNAM/share/freecad.xpm $PKG/usr/share/pixmaps/
  49.  cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
  50.  
  51.  mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION