diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-09 22:07:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-09 22:07:32 +0700 |
commit | 03b9c314c122d030c0762701cd6f47529b963dcc (patch) | |
tree | 500a4fd707bfa6574e1cafea7b47704870209c1f | |
parent | 3bc69febc033460fc66e43c40a5fda8e1bcf95a4 (diff) | |
download | slackbuilds-03b9c314c122d030c0762701cd6f47529b963dcc.tar.gz |
libraries/bullet: Updated for version 2.83.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/bullet/bullet.SlackBuild | 17 | ||||
-rw-r--r-- | libraries/bullet/bullet.info | 8 |
2 files changed, 12 insertions, 13 deletions
diff --git a/libraries/bullet/bullet.SlackBuild b/libraries/bullet/bullet.SlackBuild index 6968ea1498..224209fde9 100644 --- a/libraries/bullet/bullet.SlackBuild +++ b/libraries/bullet/bullet.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for Bullet Physics # Originally Written by Jože Zobec <jozze.zepl@gmail.com> -# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All Right Reserved # # Redistribution and use of this script, with or without modification, is @@ -24,10 +24,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=bullet -VERSION=${VERSION:-2.82} +VERSION=${VERSION:-2.83.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -REV=r2704 if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -61,10 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-$REV.tgz -mv $PRGNAM-$VERSION-$REV $PRGNAM-$VERSION -cd $PRGNAM-$VERSION +rm -rf ${PRGNAM}3-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +cd ${PRGNAM}3-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,6 +77,8 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX="${LIBDIRSUFFIX}" \ -DBUILD_SHARED_LIBS=ON \ + -DINSTALL_LIBS=ON \ + -DINSTALL_EXTRA_LIBS=ON \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -88,8 +88,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL NEWS README RELEASING.TXT VERSION \ - BulletLicense.txt Bullet_User_Manual.pdf $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS.txt LICENSE.txt README.md VERSION docs/*.pdf $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/bullet/bullet.info b/libraries/bullet/bullet.info index 0da4a79246..279e176f4b 100644 --- a/libraries/bullet/bullet.info +++ b/libraries/bullet/bullet.info @@ -1,8 +1,8 @@ PRGNAM="bullet" -VERSION="2.82" -HOMEPAGE="http://bulletphysics.org/wordpress/" -DOWNLOAD="http://bullet.googlecode.com/files/bullet-2.82-r2704.tgz" -MD5SUM="70b3c8d202dee91a0854b4cbc88173e8" +VERSION="2.83.4" +HOMEPAGE="http://www.bulletphysics.com/Bullet/" +DOWNLOAD="https://github.com/bulletphysics/bullet3/archive/2.83.4.tar.gz" +MD5SUM="58b4e151bf580fe6746e8413cb2a4cbe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |