summaryrefslogtreecommitdiffstats
path: root/libraries/bullet/bullet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/bullet/bullet.SlackBuild')
-rw-r--r--libraries/bullet/bullet.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/libraries/bullet/bullet.SlackBuild b/libraries/bullet/bullet.SlackBuild
index 3e568cc5f1..1e1e1ff69b 100644
--- a/libraries/bullet/bullet.SlackBuild
+++ b/libraries/bullet/bullet.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for Bullet Physics
# Originally Written by Jože Zobec <jozze.zepl@gmail.com>
-# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All Right Reserved
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bullet
-VERSION=${VERSION:-3.17}
+VERSION=${VERSION:-3.25}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -89,6 +86,7 @@ cd build
-DBUILD_SHARED_LIBS=ON \
-DINSTALL_LIBS=ON \
-DINSTALL_EXTRA_LIBS=ON \
+ -DUSE_DOUBLE_PRECISION=ON \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG