wok-next view bullet/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
parents | 3d715c326b97 |
children | c0521c689857 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="bullet"
4 VERSION="2.87"
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 BUILD_DEPENDS="cmake mesa-dev freeglut-dev libglu-mesa-dev python-dev"
14 SPLIT="bullet bullet-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir build
20 cd build
21 cmake .. \
22 -DBUILD_CPU_DEMOS=OFF \
23 -DBUILD_DEMOS=OFF \
24 -DBUILD_SHARED_LIBS=ON \
25 -DCMAKE_INSTALL_PREFIX=/usr &&
26 make $MAKEFLAGS &&
27 make install DESTDIR=$install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 bullet)
35 DEPENDS="mesa freeglut"
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 ;;
39 bullet-dev)
40 CAT="development|3D Real-Time Multiphysics Library - devel"
41 DEPENDS="bullet pkg-config"
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/include $fs/usr
44 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
45 cp -a $install/usr/lib/cmake $fs/usr/lib
46 ;;
47 esac
48 }