wok-next rev 20102
Up bullet (2.87)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 29 11:03:19 2017 +0100 (2017-10-29) |
parents | 23812d08bd9e |
children | df086e75a457 |
files | bullet-dev/receipt bullet/receipt |
line diff
1.1 --- a/bullet-dev/receipt Sun Oct 29 10:45:21 2017 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,20 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="bullet-dev" 1.7 -VERSION="2.82-r2704" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="3D Real-Time Multiphysics Library - devel" 1.10 -MAINTAINER="domcox@slitaz.org" 1.11 -LICENSE="zlib/libpng" 1.12 -WEB_SITE="http://bulletphysics.org" 1.13 -WANTED="bullet" 1.14 - 1.15 -DEPENDS="bullet" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/usr/lib 1.21 - cp -a $install/usr/include $fs/usr 1.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 -}
2.1 --- a/bullet/receipt Sun Oct 29 10:45:21 2017 +0100 2.2 +++ b/bullet/receipt Sun Oct 29 11:03:19 2017 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="bullet" 2.8 -VERSION="2.82-r2704" 2.9 +VERSION="2.87" 2.10 CATEGORY="graphics" 2.11 SHORT_DESC="3D Real-Time Multiphysics Library" 2.12 MAINTAINER="domcox@slitaz.org" 2.13 @@ -10,8 +10,8 @@ 2.14 TARBALL="$PACKAGE-$VERSION.tgz" 2.15 WGET_URL="http://bullet.googlecode.com/files/$TARBALL" 2.16 2.17 -DEPENDS="mesa freeglut" 2.18 -BUILD_DEPENDS="cmake mesa-dev freeglut-dev" 2.19 +BUILD_DEPENDS="cmake mesa-dev freeglut-dev libglu-mesa-dev" 2.20 +SPLIT="bullet bullet-dev" 2.21 2.22 # Rules to configure and make the package. 2.23 compile_rules() 2.24 @@ -29,6 +29,19 @@ 2.25 # Rules to gen a SliTaz package suitable for Tazpkg. 2.26 genpkg_rules() 2.27 { 2.28 - mkdir -p $fs/usr/lib 2.29 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.30 + case $PACKAGE in 2.31 + bullet) 2.32 + DEPENDS="mesa freeglut" 2.33 + mkdir -p $fs/usr/lib 2.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.35 + ;; 2.36 + bullet-dev) 2.37 + CAT="development|3D Real-Time Multiphysics Library - devel" 2.38 + DEPENDS="bullet pkg-config" 2.39 + mkdir -p $fs/usr/lib 2.40 + cp -a $install/usr/include $fs/usr 2.41 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.42 + cp -a $install/usr/lib/cmake $fs/usr/lib 2.43 + ;; 2.44 + esac 2.45 }