summaryrefslogtreecommitdiff
path: root/libraries
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
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')
-rw-r--r--libraries/ode/ode.SlackBuild20
-rw-r--r--libraries/ode/ode.info8
2 files changed, 14 insertions, 14 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
diff --git a/libraries/ode/ode.info b/libraries/ode/ode.info
index ab72450940..d1e8110357 100644
--- a/libraries/ode/ode.info
+++ b/libraries/ode/ode.info
@@ -1,10 +1,10 @@
PRGNAM="ode"
-VERSION="0.11.1"
+VERSION="0.12"
HOMEPAGE="http://www.ode.org/"
-DOWNLOAD="http://downloads.sourceforge.net/opende/ode-0.11.1.tar.bz2"
-MD5SUM="712579afabc2a15aa56e399f76171477"
+DOWNLOAD="http://downloads.sourceforge.net/opende/ode-0.12.tar.bz2"
+MD5SUM="48fdd41fae1a7e7831feeded09826599"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Alex Word"
EMAIL="alex_word86@yahoo.com"
-APPROVED="dsomero,rworkman"
+APPROVED="rworkman"