wok-6.x diff bullet/receipt @ rev 18664
Up tazpkg(881)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 03:41:51 2015 +0200 (2015-12-04) |
parents | |
children | dce0ce87bb59 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bullet/receipt Fri Dec 04 03:41:51 2015 +0200 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="bullet" 1.7 +VERSION="2.82-r2704" 1.8 +CATEGORY="graphics" 1.9 +SHORT_DESC="3D Real-Time Multiphysics Library" 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +LICENSE="zlib/libpng" 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 $MAKEFLAGS && 1.29 + make install DESTDIR=$install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/lib 1.36 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.37 +}