summaryrefslogtreecommitdiff
path: root/libraries/ode/ode.SlackBuild
diff options
context:
space:
mode:
authorAlex Word <alex_word86@yahoo.com>2014-02-17 16:06:39 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-18 14:59:55 -0600
commit051836e5140ce4e91225c5ee58c6c43730f2a30e (patch)
tree01b528deab7237cfaa65ea8671a9c08f628d8b53 /libraries/ode/ode.SlackBuild
parent9f92c68de523ca57faab081e047bd17826643961 (diff)
downloadslackbuilds-051836e5140ce4e91225c5ee58c6c43730f2a30e.tar.gz
libraries/ode: Updated for version 0.13.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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