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