wok view bullet/receipt @ rev 16942
cairo-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 24 09:47:38 2014 +0200 (2014-07-24) |
parents | |
children | dce0ce87bb59 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bullet"
4 VERSION="2.82-r2704"
5 CATEGORY="graphics"
6 SHORT_DESC="3D Real-Time Multiphysics Library"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://bulletphysics.org"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="http://bullet.googlecode.com/files/$TARBALL"
13 DEPENDS="mesa freeglut"
14 BUILD_DEPENDS="cmake mesa-dev freeglut-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd build
20 cmake .. \
21 -DBUILD_CPU_DEMOS=OFF \
22 -DBUILD_DEMOS=OFF \
23 -DBUILD_SHARED_LIBS=ON \
24 -DCMAKE_INSTALL_PREFIX=/usr &&
25 make $MAKEFLAGS &&
26 make install DESTDIR=$install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }