summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-06-24 05:02:49 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-06-24 05:02:49 +0000
commit5eda7df1938eab40c33cc7f81926fc28792db5fb (patch)
treed4a1f372a3ae47103e5f9decbbee48b9419f4306 /dev-libs
parentChanged ~sparc keyword to sparc to fix bug #23325. (diff)
downloadgentoo-2-5eda7df1938eab40c33cc7f81926fc28792db5fb.tar.gz
gentoo-2-5eda7df1938eab40c33cc7f81926fc28792db5fb.tar.bz2
gentoo-2-5eda7df1938eab40c33cc7f81926fc28792db5fb.zip
some flexibility improvements
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/ode/ChangeLog9
-rw-r--r--dev-libs/ode/Manifest8
-rw-r--r--dev-libs/ode/files/digest-ode-0.035-r11
-rw-r--r--dev-libs/ode/ode-0.035-r1.ebuild58
4 files changed, 72 insertions, 4 deletions
diff --git a/dev-libs/ode/ChangeLog b/dev-libs/ode/ChangeLog
index 6c07707986e1..fe725b0b7c2b 100644
--- a/dev-libs/ode/ChangeLog
+++ b/dev-libs/ode/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/ode
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ode/ChangeLog,v 1.4 2003/04/02 15:53:27 malverian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ode/ChangeLog,v 1.5 2003/06/24 05:02:36 george Exp $
+
+*ode-0.035-r1 (23 Jun 2003)
+
+ 23 Jun 2003; George Shapovalov <george@gentoo.org> ode-0.035-r1.ebuild :
+ see (#22071)
+ made configuring sed construct more readable and "standard"
+ fixed Makefile to honor user defined CFLAGS instead of throwing them out
*ode-0.035 (02 Apr 2003)
diff --git a/dev-libs/ode/Manifest b/dev-libs/ode/Manifest
index 72db64a91d8f..5ab6e39688cc 100644
--- a/dev-libs/ode/Manifest
+++ b/dev-libs/ode/Manifest
@@ -1,5 +1,7 @@
-MD5 8c80efeff7a0e6c3d17264e33d96ef1a ChangeLog 670
-MD5 21760f30f5a0d57254a1b4245279faad ode-0.03.ebuild 792
MD5 5334ad3e371acf1100e98b239fc355a1 ode-0.035.ebuild 856
-MD5 f736da938aa3e3af9cb10a737d8d1265 files/digest-ode-0.03 115
+MD5 a9000a3b51039843531daf7c67784d62 ode-0.035-r1.ebuild 1411
+MD5 21760f30f5a0d57254a1b4245279faad ode-0.03.ebuild 792
+MD5 9f267505b5ad9024498a381a64bfda08 ChangeLog 924
MD5 75109f5c251d1f5756e9f0e1b038432e files/digest-ode-0.035 58
+MD5 f736da938aa3e3af9cb10a737d8d1265 files/digest-ode-0.03 115
+MD5 75109f5c251d1f5756e9f0e1b038432e files/digest-ode-0.035-r1 58
diff --git a/dev-libs/ode/files/digest-ode-0.035-r1 b/dev-libs/ode/files/digest-ode-0.035-r1
new file mode 100644
index 000000000000..da646c10cacf
--- /dev/null
+++ b/dev-libs/ode/files/digest-ode-0.035-r1
@@ -0,0 +1 @@
+MD5 063fbc4bd5925c69889b2a36369b4e1f ode-0.035.tgz 742333
diff --git a/dev-libs/ode/ode-0.035-r1.ebuild b/dev-libs/ode/ode-0.035-r1.ebuild
new file mode 100644
index 000000000000..630d19a97359
--- /dev/null
+++ b/dev-libs/ode/ode-0.035-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ode/ode-0.035-r1.ebuild,v 1.1 2003/06/24 05:02:36 george Exp $
+
+inherit flag-o-matic
+
+IUSE=""
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Open Dynamics Engine SDK"
+SRC_URI="http://unc.dl.sourceforge.net/sourceforge/opende/${P}.tgz"
+HOMEPAGE="http://opende.sourceforge.net"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~ppc"
+SLOT="0"
+
+DEPEND="virtual/opengl"
+
+#this package has to be compiled strictly with -O1
+replace-flags -O? -O
+append-flags -c
+
+src_unpack() {
+ unpack ${A}
+
+ #fix Makefile to honor user-defined CFLAGS instead of hardwired ones
+ cd ${S}
+ sed -i -e "s:C_FLAGS:CFLAGS:" Makefile
+
+ #select appropriate platform
+ cd ${S}/config
+ sed -i -e "s,'PLATFORM=msvc','PLATFORM=unix-gcc'," user-settings || die
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ dodir /usr/include/ode
+ insinto /usr/include/ode
+ doins include/ode/*.h
+
+ dolib lib/libode.a
+ dolib lib/libdrawstuff.a
+
+ dodoc README CHANGELOG LICENSE.TXT
+}
+
+pkg_postinst() {
+ eifno "Please note:"
+ einfo "The package Makfile has been modified to honor user-set CFLAGS"
+ einfo "- they were ignored previously"
+ einfo "the package defined FLAGS were: "
+ einfo "-c -Wall -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math"
+ einfo "(the -c is essential because of the way Makefile is constructed)"
+}