diff options
author | Yth - Arnaud <yth@ythogtha.org> | 2018-02-06 16:12:39 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-10 08:09:32 +0700 |
commit | 4d56ca1df4f39ef3e510474807fbe483e9e1280a (patch) | |
tree | 5aab49bfaf415557dfac9b73d48925826fbeec4d /graphics/brlcad/brlcad.SlackBuild | |
parent | 2255b57164cf6305489f6091e08b8dc1c61f2a04 (diff) | |
download | slackbuilds-4d56ca1df4f39ef3e510474807fbe483e9e1280a.tar.gz |
graphics/brlcad: Updated for version 7.26.4 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/brlcad/brlcad.SlackBuild')
-rw-r--r-- | graphics/brlcad/brlcad.SlackBuild | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/graphics/brlcad/brlcad.SlackBuild b/graphics/brlcad/brlcad.SlackBuild index 4a96920aa2..12a3fe7163 100644 --- a/graphics/brlcad/brlcad.SlackBuild +++ b/graphics/brlcad/brlcad.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for BRL-CAD +# Yth | Pont-en-Royans, France | yth@ythogtha.org + # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org # Originally written by Nikolai Saika <nicksaika@gmail.com> @@ -14,13 +16,13 @@ # ... and again to fix tcl/tk breakage PRGNAM=brlcad -VERSION=${VERSION:-7.24.2} +VERSION=${VERSION:-7.26.4} 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 @@ -31,8 +33,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" @@ -60,21 +62,24 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -p0 < $CWD/brlcad.patch mkdir -p build cd build # There is a "known issue" according to the guys on #brlcad and we need # the cmake define "-DBRLCAD_ENABLE_STRICT=OFF" for now LDFLAGS="-lpng16" \ cmake \ + -DBRLCAD_ASTYLE=BUNDLED \ + -DBRLCAD_GDIAM=BUNDLED \ -DBRLCAD_FLAGS_OPTIMIZATION=ON \ -DBRLCAD_ENABLE_STRICT=OFF \ -DBRLCAD_FLAGS_DEBUG=OFF \ -DBRLCAD_FLAGS_ENABLE_RUNTIME_DEBUG=OFF \ -DBRLCAD_ENABLE_OPENGL=ON \ + -DBRLCAD_ENABLE_EXTRADOCS=ON \ + -DBRLCAD_INSTALL_EXAMPLE_GEOMETRY=ON \ -DBRLCAD_BUNDLED_LIBS=OFF \ -DBRLCAD_REGEX=SYSTEM \ - -DBRLCAD_TERMLIB=BUNDLED \ + -DBRLCAD_TERMLIB=SYSTEM \ -DBRLCAD_XMLLINT=SYSTEM \ -DBRLCAD_XSLTPROC=SYSTEM \ -DBRLCAD_ZLIB=SYSTEM \ @@ -83,15 +88,20 @@ cmake \ -DBRLCAD_ITCL=BUNDLED \ -DBRLCAD_ITK=BUNDLED \ -DBRLCAD_IWIDGETS=BUNDLED \ - -DBRLCAD_LEMON=BUNDLED \ + -DBRLCAD_LZ4=SYSTEM \ -DBRLCAD_LIBVDS=BUNDLED \ + -DBRLCAD_VDS=BUNDLED \ -DBRLCAD_OPENNURBS=BUNDLED \ + -DBRLCAD_PNG=SYSTEM \ + -DBRLCAD_LEMON=BUNDLED \ -DBRLCAD_PERPLEX=BUNDLED \ - -DBRLCAD_PNG=OFF \ -DBRLCAD_RE2C=BUNDLED \ + -DBRLCAD_NETPBM=BUNDLED \ + -DBRLCAD_SC=BUNDLED \ -DBRLCAD_SCL=BUNDLED \ -DBRLCAD_TKHTML=BUNDLED \ -DBRLCAD_TKPNG=BUNDLED \ + -DBRLCAD_TINYCTHREAD=BUNDLED \ -DBRLCAD_TKTABLE=BUNDLED \ -DBRLCAD_UTAHRLE=BUNDLED \ -DCMAKE_INSTALL_PREFIX=/opt/$PRGNAM \ |