wok-current rev 22571

updated bullet and bullet-dev (2.82-r2704 -> 2.89)
author Hans-G?nter Theisgen
date Mon Jan 06 09:36:50 2020 +0100 (2020-01-06)
parents c90904e4fb5b
children acd67c0473fb
files bullet-dev/receipt bullet/receipt
line diff
     1.1 --- a/bullet-dev/receipt	Mon Jan 06 08:00:18 2020 +0100
     1.2 +++ b/bullet-dev/receipt	Mon Jan 06 09:36:50 2020 +0100
     1.3 @@ -1,20 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bullet-dev"
     1.7 -VERSION="2.82-r2704"
     1.8 +VERSION="2.89"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="3D Real-Time Multiphysics Library - devel"
    1.11 +SHORT_DESC="3D Real-Time Multiphysics Library - development files."
    1.12  MAINTAINER="domcox@slitaz.org"
    1.13  LICENSE="zlib/libpng"
    1.14 -WEB_SITE="http://bulletphysics.org"
    1.15 -WANTED="bullet"
    1.16 +WEB_SITE="https://www.bulletphysics.com/Bullet/"
    1.17  
    1.18  DEPENDS="bullet pkg-config"
    1.19 +WANTED="bullet"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 +
    1.28 +	cp -a $install/usr/include		$fs/usr
    1.29 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.30  }
     2.1 --- a/bullet/receipt	Mon Jan 06 08:00:18 2020 +0100
     2.2 +++ b/bullet/receipt	Mon Jan 06 09:36:50 2020 +0100
     2.3 @@ -1,26 +1,30 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="bullet"
     2.7 -VERSION="2.82-r2704"
     2.8 +VERSION="2.89"
     2.9  CATEGORY="graphics"
    2.10 -SHORT_DESC="3D Real-Time Multiphysics Library"
    2.11 +SHORT_DESC="3D Real-Time Multiphysics Library."
    2.12  MAINTAINER="domcox@slitaz.org"
    2.13  LICENSE="zlib/libpng"
    2.14 -WEB_SITE="http://bulletphysics.org"
    2.15 -TARBALL="$PACKAGE-$VERSION.tgz"
    2.16 -WGET_URL="http://bullet.googlecode.com/files/$TARBALL"
    2.17 +WEB_SITE="https://www.bulletphysics.com/Bullet/"
    2.18  
    2.19 -DEPENDS="mesa freeglut"
    2.20 -BUILD_DEPENDS="cmake mesa-dev freeglut-dev"
    2.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.22 +WGET_URL="https://github.com/bulletphysics/${PACKAGE}3/archive/$VERSION/${PACKAGE}3-$VERSION.tar.gz"
    2.23 +
    2.24 +DEPENDS="freeglut gcc83-lib-base mesa"
    2.25 +BUILD_DEPENDS="cmake freeglut-dev gcc83 mesa-dev"
    2.26  
    2.27  # Rules to configure and make the package.
    2.28  compile_rules()
    2.29  {
    2.30 -	cd build
    2.31 -	cmake .. \
    2.32 -		-DBUILD_CPU_DEMOS=OFF \
    2.33 -		-DBUILD_DEMOS=OFF \
    2.34 -		-DBUILD_SHARED_LIBS=ON \
    2.35 +	export	CC=gcc-83
    2.36 +	export	CXX=g++-83
    2.37 +
    2.38 +	cd build3 &&
    2.39 +	cmake	..			\
    2.40 +		-DBUILD_CPU_DEMOS=OFF	\
    2.41 +		-DBUILD_DEMOS=OFF	\
    2.42 +		-DBUILD_SHARED_LIBS=ON	\
    2.43  		-DCMAKE_INSTALL_PREFIX=/usr &&
    2.44  	make $MAKEFLAGS &&
    2.45  	make install DESTDIR=$install
    2.46 @@ -30,5 +34,5 @@
    2.47  genpkg_rules()
    2.48  {
    2.49  	mkdir -p $fs/usr/lib
    2.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.51 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.52  }