summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-03-24 19:05:08 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-03-24 19:05:08 +0000
commit8ba7d8630e69ffae144f4d0826b06d822095718d (patch)
tree93efcc1faf83e004b4eaa65ae8adc2ac5b237e72 /sci-physics
parentAdd SLOT deps for SLOT 0 deps. (diff)
downloadgentoo-2-8ba7d8630e69ffae144f4d0826b06d822095718d.tar.gz
gentoo-2-8ba7d8630e69ffae144f4d0826b06d822095718d.tar.bz2
gentoo-2-8ba7d8630e69ffae144f4d0826b06d822095718d.zip
Version bump
(Portage version: 2.2_rc26/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/bullet/ChangeLog8
-rw-r--r--sci-physics/bullet/bullet-2.74.ebuild45
-rw-r--r--sci-physics/bullet/files/bullet-2.74-noextra.patch11
3 files changed, 63 insertions, 1 deletions
diff --git a/sci-physics/bullet/ChangeLog b/sci-physics/bullet/ChangeLog
index 4f1d59eb01f5..064a17576040 100644
--- a/sci-physics/bullet/ChangeLog
+++ b/sci-physics/bullet/ChangeLog
@@ -1,6 +1,12 @@
# 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.5 2009/01/16 14:54:03 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/ChangeLog,v 1.6 2009/03/24 19:05:07 bicatali Exp $
+
+*bullet-2.74 (24 Mar 2009)
+
+ 24 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/bullet-2.74-noextra.patch, +bullet-2.74.ebuild:
+ Version bump
16 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org>
bullet-2.73-r1.ebuild:
diff --git a/sci-physics/bullet/bullet-2.74.ebuild b/sci-physics/bullet/bullet-2.74.ebuild
new file mode 100644
index 000000000000..e348946354ae
--- /dev/null
+++ b/sci-physics/bullet/bullet-2.74.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/bullet/bullet-2.74.ebuild,v 1.1 2009/03/24 19:05:07 bicatali Exp $
+
+EAPI=2
+inherit eutils autotools
+
+DESCRIPTION="Continuous Collision Detection and Physics Library"
+HOMEPAGE="http://www.continuousphysics.com/Bullet/"
+SRC_URI="http://bullet.googlecode.com/files/${P}.tgz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples threads"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ rm -rf Extras/LibXML
+ rm -f Extras/CDTestFramework/AntTweakBar/lib/libAntTweakBar.so
+ epatch "${FILESDIR}"/${P}-noextra.patch
+ eautoreconf
+ edos2unix install-sh || die
+}
+src_configure() {
+ econf \
+ --disable-demos \
+ $(use_enable threads multithreaded)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README ChangeLog AUTHORS || die
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins *.pdf || die
+ fi
+ if use examples; then
+ emake distclean
+ insinto /usr/share/doc/${PF}/examples
+ doins -r Extras Demos || die
+ fi
+}
diff --git a/sci-physics/bullet/files/bullet-2.74-noextra.patch b/sci-physics/bullet/files/bullet-2.74-noextra.patch
new file mode 100644
index 000000000000..84d7e71d460e
--- /dev/null
+++ b/sci-physics/bullet/files/bullet-2.74-noextra.patch
@@ -0,0 +1,11 @@
+--- Makefile.am.orig 2009-03-24 15:26:09.000000000 +0000
++++ Makefile.am 2009-03-24 15:26:16.000000000 +0000
+@@ -1,7 +1,7 @@
+ if CONDITIONAL_BUILD_DEMOS
+ SUBDIRS=src Extras Demos
+ else
+-SUBDIRS=src Extras
++SUBDIRS=src
+ endif
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = bullet.pc