wok-current diff bullet/receipt @ rev 23117

updated libusb and libusb-dev (1.0.22 -> 1.0.23)
author Hans-G?nter Theisgen
date Thu Mar 12 17:06:21 2020 +0100 (2020-03-12)
parents ce9148142ee8
children 5ea0ce1cecc0
line diff
     1.1 --- a/bullet/receipt	Thu Dec 26 13:16:14 2013 +0000
     1.2 +++ b/bullet/receipt	Thu Mar 12 17:06:21 2020 +0100
     1.3 @@ -1,26 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bullet"
     1.7 -VERSION="2.82-r2704"
     1.8 +VERSION="2.89"
     1.9  CATEGORY="graphics"
    1.10 -SHORT_DESC="3D Real-Time Multiphysics Library"
    1.11 +SHORT_DESC="3D Real-Time Multiphysics Library."
    1.12  MAINTAINER="domcox@slitaz.org"
    1.13  LICENSE="zlib/libpng"
    1.14 -WEB_SITE="http://bulletphysics.org"
    1.15 -TARBALL="$PACKAGE-$VERSION.tgz"
    1.16 -WGET_URL="http://bullet.googlecode.com/files/$TARBALL"
    1.17 +WEB_SITE="https://www.bulletphysics.com/Bullet/"
    1.18  
    1.19 -DEPENDS="mesa freeglut"
    1.20 -BUILD_DEPENDS="cmake mesa-dev freeglut-dev"
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22 +WGET_URL="https://github.com/bulletphysics/${PACKAGE}3/archive/$VERSION/${PACKAGE}3-$VERSION.tar.gz"
    1.23 +
    1.24 +DEPENDS="freeglut gcc83-lib-base mesa"
    1.25 +BUILD_DEPENDS="cmake freeglut-dev gcc83 mesa-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd build
    1.31 -	cmake .. \
    1.32 -		-DBUILD_CPU_DEMOS=OFF \
    1.33 -		-DBUILD_DEMOS=OFF \
    1.34 -		-DBUILD_SHARED_LIBS=ON \
    1.35 +	export	CC=gcc-83
    1.36 +	export	CXX=g++-83
    1.37 +
    1.38 +	cd build3 &&
    1.39 +	cmake	..			\
    1.40 +		-DBUILD_CPU_DEMOS=OFF	\
    1.41 +		-DBUILD_DEMOS=OFF	\
    1.42 +		-DBUILD_SHARED_LIBS=ON	\
    1.43  		-DCMAKE_INSTALL_PREFIX=/usr &&
    1.44  	make $MAKEFLAGS &&
    1.45  	make install DESTDIR=$install
    1.46 @@ -30,5 +34,5 @@
    1.47  genpkg_rules()
    1.48  {
    1.49  	mkdir -p $fs/usr/lib
    1.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.51 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.52  }