diff options
author | Alex Word <alex_word86@yahoo.com> | 2010-05-12 17:41:57 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:41:57 +0200 |
commit | 43135d6643e010c571a64361efa80c382fdf10e4 (patch) | |
tree | c679418d3d668ed9fe6eeb78ef01ae5dc958aeec /libraries/ode | |
parent | fe66a872a6c59b1f227ae18e623cdbab2bb94873 (diff) |
libraries/ode: Updated for version 0.11.1
Diffstat (limited to 'libraries/ode')
-rw-r--r-- | libraries/ode/ode.SlackBuild | 59 | ||||
-rw-r--r-- | libraries/ode/ode.info | 14 | ||||
-rw-r--r-- | libraries/ode/slack-desc | 10 |
3 files changed, 49 insertions, 34 deletions
diff --git a/libraries/ode/ode.SlackBuild b/libraries/ode/ode.SlackBuild index 314f7b3b27a0e..4c9c4dfa216c6 100644 --- a/libraries/ode/ode.SlackBuild +++ b/libraries/ode/ode.SlackBuild @@ -8,53 +8,68 @@ ## did not write. Thanks. # Modified by the SlackBuilds.org project +# Updated by Alex Word <alex_word86@yahoo.com> -set -e - -NAME=ode -VERSION=0.8 +PRGNAM=ode +VERSION=0.11.1 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} -PKG=${PKG:-$TMP/package-$NAME} +PKG=${PKG:-$TMP/package-$PRGNAM} OUTPUT=${OUTPUT:-/tmp} -rm -rf $PKG $TMP/$NAME-$VERSION -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -unzip $CWD/$NAME-src-$VERSION.zip -cd $NAME-$VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi +set -e + +rm -rf $PKG $TMP/$PRGNAM-$VERSION +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +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 \ - --exec-prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --enable-shared \ - --disable-debug + --enable-static=no \ + --disable-asserts \ + --enable-gprof \ + --with-x \ + --with-drawstuff=X11 \ + --disable-demos \ + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG -mkdir -p $PKG/usr/doc/$NAME-$VERSION/html -cp -a CHANGELOG* INSTALL* LICENSE* README* $PKG/usr/doc/$NAME-$VERSION -cp -a docs/* $PKG/usr/doc/$NAME-$VERSION/html -cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild +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 +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n -p $OUTPUT/$NAME-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/libraries/ode/ode.info b/libraries/ode/ode.info index b78f629bcf70d..03105209e41da 100644 --- a/libraries/ode/ode.info +++ b/libraries/ode/ode.info @@ -1,8 +1,8 @@ PRGNAM="ode" -VERSION="0.8" -HOMEPAGE="http://www.ode.org" -DOWNLOAD="http://dl.sourceforge.net/opende/ode-src-0.8.zip" -MD5SUM="fb7462ba0af2fbc230cb1b3f79e0acbb" -MAINTAINER="hollywoodb" -EMAIL="hollywoodb@fastmail.fm" -APPROVED="BP{k}" +VERSION="0.11.1" +HOMEPAGE="http://www.ode.org/" +DOWNLOAD="http://downloads.sourceforge.net/opende/ode-0.11.1.tar.bz2" +MD5SUM="c5d51e4c73bff379e5ae18ac218ebba3" +MAINTAINER="Alex Word" +EMAIL="alex_word86@yahoo.com" +APPROVED="dsomero" diff --git a/libraries/ode/slack-desc b/libraries/ode/slack-desc index 253d6940588f8..30eed30e3a7b4 100644 --- a/libraries/ode/slack-desc +++ b/libraries/ode/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler------------------------------------------------------| + |-----handy-ruler-------------------------------------------------------| ode: ode (library for simulating articulated rigid body dynamics) ode: ode: The Open Dynamics Engine (ODE) is a free, industrial quality library @@ -13,7 +13,7 @@ ode: for simulating articulated rigid body dynamics. Proven applications ode: include simulating ground vehicles, legged creatures, and moving ode: objects in VR environments. It is fast, flexible and robust, and has ode: built-in collision detection. -ode: -ode: -ode: -ode: +ode: +ode: +ode: +ode: |