diff options
Diffstat (limited to 'libraries/ode/ode.SlackBuild')
-rw-r--r-- | libraries/ode/ode.SlackBuild | 20 |
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 |