diff options
Diffstat (limited to 'libraries/bullet/bullet.SlackBuild')
-rw-r--r-- | libraries/bullet/bullet.SlackBuild | 17 |
1 files changed, 8 insertions, 9 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 |