diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-03-23 02:21:20 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-03-23 02:21:20 +0000 |
commit | db324a487cbd9275b0a94d4d7f30a718f73209e6 (patch) | |
tree | 0c4b8bb8cab928e3fb82956c7edc4abffff9913e /sci-physics | |
parent | Fix directory ownership for '+non-root -caps'/'-non-root +caps' installations... (diff) | |
download | gentoo-2-db324a487cbd9275b0a94d4d7f30a718f73209e6.tar.gz gentoo-2-db324a487cbd9275b0a94d4d7f30a718f73209e6.tar.bz2 gentoo-2-db324a487cbd9275b0a94d4d7f30a718f73209e6.zip |
Version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/bullet/ChangeLog | 9 | ||||
-rw-r--r-- | sci-physics/bullet/bullet-2.76.ebuild | 58 |
2 files changed, 65 insertions, 2 deletions
diff --git a/sci-physics/bullet/ChangeLog b/sci-physics/bullet/ChangeLog index 6c9a09a05252..021d945fc704 100644 --- a/sci-physics/bullet/ChangeLog +++ b/sci-physics/bullet/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-physics/bullet -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/ChangeLog,v 1.11 2009/12/01 10:53:12 maekke Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/ChangeLog,v 1.12 2010/03/23 02:21:20 bicatali Exp $ + +*bullet-2.76 (23 Mar 2010) + + 23 Mar 2010; Sébastien Fabbro <bicatali@gentoo.org> +bullet-2.76.ebuild: + Version bump 01 Dec 2009; Markus Meier <maekke@gentoo.org> bullet-2.75.ebuild: amd64 stable, bug #294438 diff --git a/sci-physics/bullet/bullet-2.76.ebuild b/sci-physics/bullet/bullet-2.76.ebuild new file mode 100644 index 000000000000..6b59f79d76d6 --- /dev/null +++ b/sci-physics/bullet/bullet-2.76.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/bullet-2.76.ebuild,v 1.1 2010/03/23 02:21:20 bicatali Exp $ + +EAPI=2 +inherit eutils cmake-utils + +DESCRIPTION="Continuous Collision Detection and Physics Library" +HOMEPAGE="http://www.bulletphysics.com/" +SRC_URI="http://bullet.googlecode.com/files/${P}.tgz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND="virtual/glut" +DEPEND="${RDEPEND}" + +src_prepare() { + rm -f Extras/CDTestFramework/AntTweakBar/lib/libAntTweakBar.so || die + sed -i \ + -e 's:DESTINATION lib:DESTINATION lib${LIB_SUFFIX}:g' \ + src/*/CMakeLists.txt || die +} + +src_configure() { + mycmakeargs=" + -DBUILD_SHARED_LIBS=ON + -DBUILD_DEMOS=OFF + -DBUILD_EXTRAS=OFF + -DINSTALL_LIBS=ON + -DINSTALL_EXTRA_LIBS=ON" + # -DCMAKE_INSTALL_PREFIX=/usr" + + cmake-utils_src_configure + sed -e "s|@prefix@|${ROOT}usr|" \ + -e 's|@exec_prefix@|${prefix}|' \ + -e "s|@libdir@|\${exec_prefix}/$(get_libdir)|" \ + -e "s|@PACKAGE_VERSION@|${PV}|" \ + -e 's|Libs:.*$|Libs:-L${libdir} -lBulletDynamics -lBulletCollision -lLinearMath -lBulletSoftBody|' \ + bullet.pc.in > bullet.pc || die +} + +src_install() { + cmake-utils_src_install + insinto /usr/$(get_libdir)/pkgconfig + doins bullet.pc || die + dodoc README ChangeLog AUTHORS + if use doc; then + insinto /usr/share/doc/${PF} + doins *.pdf || die + fi + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r Extras Demos || die + fi +} |