1 |
mr_bones_ 12/06/07 19:16:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ode-0.12.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.59 dev-games/ode/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ode/ChangeLog?rev=1.59&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ode/ChangeLog?rev=1.59&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ode/ChangeLog?r1=1.58&r2=1.59 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v |
20 |
retrieving revision 1.58 |
21 |
retrieving revision 1.59 |
22 |
diff -u -r1.58 -r1.59 |
23 |
--- ChangeLog 20 Sep 2010 03:47:35 -0000 1.58 |
24 |
+++ ChangeLog 7 Jun 2012 19:16:45 -0000 1.59 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-games/ode |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.58 2010/09/20 03:47:35 mr_bones_ Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ChangeLog,v 1.59 2012/06/07 19:16:45 mr_bones_ Exp $ |
31 |
+ |
32 |
+*ode-0.12 (07 Jun 2012) |
33 |
+ |
34 |
+ 07 Jun 2012; Michael Sterrett <mr_bones_@g.o> +ode-0.12.ebuild: |
35 |
+ version bump |
36 |
|
37 |
20 Sep 2010; Michael Sterrett <mr_bones_@g.o> ode-0.11.1.ebuild: |
38 |
fix build with /bin/sh != bash (bug #335760); add USE=static-libs |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-games/ode/ode-0.12.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ode/ode-0.12.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/ode/ode-0.12.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: ode-0.12.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-games/ode/ode-0.12.ebuild,v 1.1 2012/06/07 19:16:45 mr_bones_ Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
DESCRIPTION="Open Dynamics Engine SDK" |
55 |
HOMEPAGE="http://ode.org/" |
56 |
SRC_URI="mirror://sourceforge/opende/${P}.tar.bz2" |
57 |
|
58 |
LICENSE="|| ( LGPL-2.1 BSD )" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
61 |
IUSE="debug doc double-precision examples gyroscopic static-libs" |
62 |
|
63 |
RDEPEND="examples? ( |
64 |
virtual/opengl |
65 |
)" |
66 |
DEPEND="${RDEPEND} |
67 |
doc? ( app-doc/doxygen )" |
68 |
|
69 |
src_prepare() { |
70 |
sed -i \ |
71 |
-e "s:\$.*/drawstuff/textures:/usr/share/doc/${PF}/examples:" \ |
72 |
drawstuff/src/Makefile.in \ |
73 |
ode/demo/Makefile.in \ |
74 |
|| die "sed Makefile.in failed" |
75 |
} |
76 |
|
77 |
src_configure() { |
78 |
# use bash (bug #335760) |
79 |
CONFIG_SHELL=/bin/bash \ |
80 |
econf \ |
81 |
--disable-dependency-tracking \ |
82 |
--enable-shared \ |
83 |
$(use_enable static-libs static) \ |
84 |
$(use_enable debug asserts) \ |
85 |
$(use_enable double-precision) \ |
86 |
$(use_enable examples demos) \ |
87 |
$(use_enable gyroscopic) \ |
88 |
$(use_with examples drawstuff X11) |
89 |
} |
90 |
|
91 |
src_compile() { |
92 |
emake || die "emake failed" |
93 |
if use doc ; then |
94 |
cd ode/doc |
95 |
doxygen Doxyfile || die "doxygen failed" |
96 |
fi |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
emake DESTDIR="${D}" install || die "emake install failed" |
101 |
dodoc CHANGELOG.txt README.txt |
102 |
if ! use static-libs ; then |
103 |
find "${D}" -type f -name '*.la' -exec rm {} + \ |
104 |
|| die "la removal failed" |
105 |
fi |
106 |
if use doc ; then |
107 |
dohtml docs/* || die "dohtml failed" |
108 |
fi |
109 |
if use examples; then |
110 |
cd ode/demo |
111 |
exeinto /usr/share/doc/${PF}/examples |
112 |
local f |
113 |
for f in *.c* ; do |
114 |
doexe .libs/${f%.*} || die "doexe ${f%.*} failed" |
115 |
done |
116 |
cd ../.. |
117 |
doexe drawstuff/dstest/dstest |
118 |
insinto /usr/share/doc/${PF}/examples |
119 |
doins ode/demo/*.{c,cpp,h} \ |
120 |
drawstuff/textures/*.ppm \ |
121 |
drawstuff/dstest/dstest.cpp \ |
122 |
drawstuff/src/{drawstuff.cpp,internal.h,x11.cpp} \ |
123 |
|| die "doins failed" |
124 |
fi |
125 |
} |