wok-next view bullet/receipt @ rev 20859
Update ALSA stack (1.1.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 27 13:35:43 2018 +0300 (2018-06-27) |
parents | c0521c689857 |
children | d2950281f122 |
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 glu-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 mkdir -p $fs/usr/lib
41 cp -a $install/usr/include $fs/usr
42 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
43 cp -a $install/usr/lib/cmake $fs/usr/lib
44 ;;
45 esac
46 }