summaryrefslogtreecommitdiff
path: root/libraries/ode/ode.SlackBuild
diff options
context:
space:
mode:
authorAlex Word <alex_word86@yahoo.com>2012-07-28 15:06:06 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-07-28 15:06:06 -0500
commit4c53ced7a03e82615097bf4a254ac9528768e52a (patch)
treeae129244915dc77c7e294bc6b0fad04b8c7d25b0 /libraries/ode/ode.SlackBuild
parentd22823d9ca1b78700d3ad087e75da39ba5ab1c16 (diff)
downloadslackbuilds-4c53ced7a03e82615097bf4a254ac9528768e52a.tar.gz
libraries/ode: Updated for version 0.12.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/ode/ode.SlackBuild')
-rw-r--r--libraries/ode/ode.SlackBuild20
1 files changed, 10 insertions, 10 deletions
diff --git a/libraries/ode/ode.SlackBuild b/libraries/ode/ode.SlackBuild
index 8766adab04..21e4ccd21d 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=0.11.1
+VERSION=${VERSION:-0.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,30 +52,30 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-cd ode/doc
- doxygen Doxyfile
-cd -
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --enable-shared \
+ --enable-shared=yes \
--enable-static=no \
--disable-asserts \
--enable-gprof \
+ --enable-double-precision \
+ --enable-libccd \
--with-x \
--with-drawstuff=X11 \
--disable-demos \
--build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
-cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/html
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt ou/*.TXT $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install