pkgsrc/devel/bullet/Makefile
nia d32645512d bullet: Update to 2.89
Bullet 2.89 includes a new implementation of volumetric deformable objects and cloth based on the Finite Element Method, thanks to Xuchen Han. Two-way coupling between deformables and rigid/multi body is achieved using a unified constraint solver.
2020-02-20 14:58:54 +00:00

32 lines
928 B
Makefile

# $NetBSD: Makefile,v 1.14 2020/02/20 14:58:54 nia Exp $
DISTNAME= bullet-2.89
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=bulletphysics/}
GITHUB_PROJECT= bullet3
GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://bulletphysics.org/wordpress/
COMMENT= Collision detection, soft body and rigid body dynamics library
LICENSE= mit
USE_TOOLS+= pkg-config
USE_CMAKE= yes
USE_LANGUAGES= c c++
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=on
# doesn't install anything without this
CMAKE_ARGS+= -DINSTALL_LIBS:BOOL=on
CMAKE_ARGS+= -DBUILD_BULLET2_DEMOS:BOOL=off
CMAKE_ARGS+= -DBUILD_CPU_DEMOS:BOOL=off
CMAKE_ARGS+= -DBUILD_OPENGL3_DEMOS:BOOL=off
CMAKE_ARGS+= -DBUILD_UNIT_TESTS:BOOL=off
PKGCONFIG_OVERRIDE+= bullet.pc.in
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"