wok view bullet/receipt @ rev 18701

Up tazpkg(889)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Dec 16 12:18:23 2015 +0200 (2015-12-16)
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 }