wok-current view bullet/receipt @ rev 25674
Add miss e1000e driver for linux64
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Mar 04 17:18:27 2024 +0000 (8 months ago) |
parents | dce0ce87bb59 |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export CC=gcc-83
27 export CXX=g++-83
29 cd build3 &&
30 cmake .. \
31 -DBUILD_CPU_DEMOS=OFF \
32 -DBUILD_DEMOS=OFF \
33 -DBUILD_SHARED_LIBS=ON \
34 -DCMAKE_INSTALL_PREFIX=/usr &&
35 make $MAKEFLAGS &&
36 make install DESTDIR=$install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }