wok annotate bullet/receipt @ rev 18443
libgd: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 18:27:14 2015 +0200 (2015-09-24) |
parents | |
children | dce0ce87bb59 |
rev | line source |
---|---|
pascal@15721 | 1 # SliTaz package receipt. |
pascal@15721 | 2 |
pascal@15721 | 3 PACKAGE="bullet" |
pascal@15721 | 4 VERSION="2.82-r2704" |
pascal@15721 | 5 CATEGORY="graphics" |
pascal@15721 | 6 SHORT_DESC="3D Real-Time Multiphysics Library" |
pascal@15721 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@15721 | 8 LICENSE="zlib/libpng" |
pascal@15721 | 9 WEB_SITE="http://bulletphysics.org" |
pascal@15721 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@15721 | 11 WGET_URL="http://bullet.googlecode.com/files/$TARBALL" |
pascal@15721 | 12 |
pascal@15721 | 13 DEPENDS="mesa freeglut" |
pascal@15721 | 14 BUILD_DEPENDS="cmake mesa-dev freeglut-dev" |
pascal@15721 | 15 |
pascal@15721 | 16 # Rules to configure and make the package. |
pascal@15721 | 17 compile_rules() |
pascal@15721 | 18 { |
pascal@15721 | 19 cd build |
pascal@15721 | 20 cmake .. \ |
pascal@15721 | 21 -DBUILD_CPU_DEMOS=OFF \ |
pascal@15721 | 22 -DBUILD_DEMOS=OFF \ |
pascal@15721 | 23 -DBUILD_SHARED_LIBS=ON \ |
pascal@15721 | 24 -DCMAKE_INSTALL_PREFIX=/usr && |
pascal@15721 | 25 make $MAKEFLAGS && |
pascal@15721 | 26 make install DESTDIR=$install |
pascal@15721 | 27 } |
pascal@15721 | 28 |
pascal@15721 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 30 genpkg_rules() |
pascal@15721 | 31 { |
pascal@15721 | 32 mkdir -p $fs/usr/lib |
pascal@15721 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15721 | 34 } |