wok-next diff bullet/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
line diff
1.1 --- a/bullet/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/bullet/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -1,37 +1,38 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="bullet" 1.7 -VERSION="2.87" 1.8 +VERSION="2.89" 1.9 CATEGORY="graphics" 1.10 SHORT_DESC="3D Real-Time Multiphysics Library" 1.11 -MAINTAINER="devel@slitaz.org" 1.12 +MAINTAINER="maintainer@slitaz.org" 1.13 LICENSE="zlib/libpng" 1.14 WEB_SITE="https://pybullet.org/wordpress/" 1.15 1.16 -TARBALL="$PACKAGE-$VERSION.tgz" 1.17 -WGET_URL="http://bullet.googlecode.com/files/$TARBALL" 1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 +WGET_URL="https://github.com/bulletphysics/bullet3/archive/$VERSION.tar.gz" 1.20 1.21 -BUILD_DEPENDS="cmake mesa-dev freeglut-dev glu-dev python-dev" 1.22 +BUILD_DEPENDS="cmake freeglut-dev glu-dev mesa-dev python-dev" 1.23 SPLIT="$PACKAGE-dev" 1.24 1.25 -compile_rules() { 1.26 +compile_rules() 1.27 +{ 1.28 mkdir build 1.29 cd build 1.30 - cmake \ 1.31 - -DBUILD_CPU_DEMOS=OFF \ 1.32 - -DBUILD_DEMOS=OFF \ 1.33 - -DBUILD_SHARED_LIBS=ON \ 1.34 - -DCMAKE_INSTALL_PREFIX=/usr \ 1.35 - .. && 1.36 + cmake .. \ 1.37 + -DBUILD_CPU_DEMOS=OFF \ 1.38 + -DBUILD_DEMOS=OFF \ 1.39 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.40 + -DBUILD_SHARED_LIBS=ON && 1.41 make $MAKEFLAGS && 1.42 make DESTDIR=$install install 1.43 } 1.44 1.45 -genpkg_rules() { 1.46 +genpkg_rules() 1.47 +{ 1.48 case $PACKAGE in 1.49 bullet) 1.50 copy @std 1.51 - DEPENDS="mesa freeglut" 1.52 + DEPENDS="freeglut mesa" 1.53 ;; 1.54 *-dev) 1.55 copy @dev