wok view bullet/receipt @ rev 22969
updated jhead (3.03 -> 3.04)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 29 14:03:49 2020 +0100 (2020-02-29) |
parents | ce9148142ee8 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bullet"
4 VERSION="2.89"
5 CATEGORY="graphics"
6 SHORT_DESC="3D Real-Time Multiphysics Library."
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://www.bulletphysics.com/Bullet/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/bulletphysics/${PACKAGE}3/archive/$VERSION/${PACKAGE}3-$VERSION.tar.gz"
14 DEPENDS="freeglut gcc83-lib-base mesa"
15 BUILD_DEPENDS="cmake freeglut-dev gcc83 mesa-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CC=gcc-83
21 export CXX=g++-83
23 cd build3 &&
24 cmake .. \
25 -DBUILD_CPU_DEMOS=OFF \
26 -DBUILD_DEMOS=OFF \
27 -DBUILD_SHARED_LIBS=ON \
28 -DCMAKE_INSTALL_PREFIX=/usr &&
29 make $MAKEFLAGS &&
30 make install DESTDIR=$install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }