wok-undigest rev 1048
Add: bullet - physics library
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed Nov 27 07:30:58 2013 +0100 (2013-11-27) |
parents | eb44bbd3956d |
children | 92149afd3aea |
files | bullet/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bullet/receipt Wed Nov 27 07:30:58 2013 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="bullet" 1.7 +VERSION="2.82-r2704" 1.8 +CATEGORY="libs" 1.9 +SHORT_DESC="3D Real-Time Multiphysics Library" 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +LICENSE="ZLIB" 1.12 +WEB_SITE="http://bulletphysics.org" 1.13 +TARBALL="$PACKAGE-$VERSION.tgz" 1.14 +WGET_URL="http://bullet.googlecode.com/files/$TARBALL" 1.15 + 1.16 +DEPENDS="mesa freeglut" 1.17 +BUILD_DEPENDS="cmake mesa-dev freeglut-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd build 1.23 + cmake .. \ 1.24 + -DBUILD_CPU_DEMOS=OFF \ 1.25 + -DBUILD_DEMOS=OFF \ 1.26 + -DBUILD_SHARED_LIBS=ON \ 1.27 + -DCMAKE_INSTALL_PREFIX=/usr 1.28 + make 1.29 + make install DESTDIR=$install 1.30 +# sudo ldconfig 1.31 + 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr/lib 1.38 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.39 +}