wok view bullet/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | 5ea0ce1cecc0 |
children |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CC=gcc-83
28 export CXX=g++-83
30 cd build3 &&
31 cmake .. \
32 -DBUILD_CPU_DEMOS=OFF \
33 -DBUILD_DEMOS=OFF \
34 -DBUILD_SHARED_LIBS=ON \
35 -DCMAKE_INSTALL_PREFIX=/usr &&
36 make $MAKEFLAGS &&
37 make install DESTDIR=$install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }