wok-6.x view bullet/receipt @ rev 16067
ARM: xorg-server-light cross compile and add more needed packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 12 20:54:03 2014 +0100 (2014-03-12) |
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 }