diff options
author | David Spencer <baildon.research@googlemail.com> | 2018-03-01 15:16:24 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-03 08:42:09 +0700 |
commit | b8fad9ce754c9adc8c574ada81bb98da6e952310 (patch) | |
tree | bd24dd6625829515a72fda296436afdbd65b9cb5 /graphics/FreeCAD/FreeCAD.SlackBuild | |
parent | 3032ff1be0b9871fe0cd2d61192c406578d2a2e0 (diff) | |
download | slackbuilds-b8fad9ce754c9adc8c574ada81bb98da6e952310.tar.gz |
graphics/FreeCAD: Updated for version 0.16.6712.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/FreeCAD/FreeCAD.SlackBuild')
-rw-r--r-- | graphics/FreeCAD/FreeCAD.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/FreeCAD/FreeCAD.SlackBuild b/graphics/FreeCAD/FreeCAD.SlackBuild index 77babb3a7c..5e4db3365d 100644 --- a/graphics/FreeCAD/FreeCAD.SlackBuild +++ b/graphics/FreeCAD/FreeCAD.SlackBuild @@ -25,13 +25,13 @@ # Maintained by David Spencer <baildon.research@googlemail.com> PRGNAM=FreeCAD -VERSION=${VERSION:-0.16} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.16.6712} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -84,7 +84,6 @@ cd build -DOCC_INCLUDE_DIR:PATH=/opt/OpenCASCADE/inc \ -DOCC_LIBRARY:PATH=/usr/lib${LIBDIRSUFFIX} \ -DRESOURCEDIR=/opt/$PRGNAM/share/data \ - -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG |