summaryrefslogtreecommitdiffstats
path: root/libraries/ode/ode.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ode/ode.SlackBuild')
-rw-r--r--libraries/ode/ode.SlackBuild17
1 files changed, 14 insertions, 3 deletions
diff --git a/libraries/ode/ode.SlackBuild b/libraries/ode/ode.SlackBuild
index a01183de56..d97ddb3073 100644
--- a/libraries/ode/ode.SlackBuild
+++ b/libraries/ode/ode.SlackBuild
@@ -11,7 +11,7 @@
# Updated by Alex Word <alex_word86@yahoo.com>
PRGNAM=ode
-VERSION=${VERSION:-0.12}
+VERSION=${VERSION:-0.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,6 +56,9 @@ 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 {} \;
+# Fix end-of-line encoding.
+sed -i 's/\r//' ou/*.TXT
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -64,12 +67,20 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-shared=yes \
--enable-static=no \
--disable-asserts \
+ --disable-demos \
--enable-gprof \
--enable-double-precision \
--enable-libccd \
- --with-x \
--with-drawstuff=X11 \
- --disable-demos \
+ --enable-ou \
+ --with-cylinder-cylinder=libccd \
+ --with-box-cylinder=libccd \
+ --with-capsule-cylinder=libccd \
+ --with-convex-box=libccd \
+ --with-convex-capsule=libccd \
+ --with-convex-cylinder=libccd \
+ --with-convex-sphere=libccd \
+ --with-convex-convex=libccd \
--build=$ARCH-slackware-linux
make