1 |
mr_bones_ 11/01/16 04:11:53 |
2 |
|
3 |
Modified: ChangeLog wfmath-0.3.10.ebuild |
4 |
Log: |
5 |
add static-libs support |
6 |
|
7 |
(Portage version: 2.1.9.25/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.16 dev-games/wfmath/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/wfmath/ChangeLog?rev=1.16&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/wfmath/ChangeLog?rev=1.16&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/wfmath/ChangeLog?r1=1.15&r2=1.16 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-games/wfmath/ChangeLog,v |
19 |
retrieving revision 1.15 |
20 |
retrieving revision 1.16 |
21 |
diff -u -r1.15 -r1.16 |
22 |
--- ChangeLog 6 Dec 2010 09:28:08 -0000 1.15 |
23 |
+++ ChangeLog 16 Jan 2011 04:11:53 -0000 1.16 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for dev-games/wfmath |
26 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-games/wfmath/ChangeLog,v 1.15 2010/12/06 09:28:08 tupone Exp $ |
28 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-games/wfmath/ChangeLog,v 1.16 2011/01/16 04:11:53 mr_bones_ Exp $ |
30 |
+ |
31 |
+ 16 Jan 2011; Michael Sterrett <mr_bones_@g.o> wfmath-0.3.10.ebuild: |
32 |
+ add static-libs support |
33 |
|
34 |
06 Dec 2010; Alfredo Tupone <tupone@g.o> wfmath-0.3.10.ebuild: |
35 |
Remove not strictly needed dependency on media-libs/atlas-c++ |
36 |
|
37 |
|
38 |
|
39 |
1.5 dev-games/wfmath/wfmath-0.3.10.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/wfmath/wfmath-0.3.10.ebuild?rev=1.5&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/wfmath/wfmath-0.3.10.ebuild?rev=1.5&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/wfmath/wfmath-0.3.10.ebuild?r1=1.4&r2=1.5 |
44 |
|
45 |
Index: wfmath-0.3.10.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-games/wfmath/wfmath-0.3.10.ebuild,v |
48 |
retrieving revision 1.4 |
49 |
retrieving revision 1.5 |
50 |
diff -u -r1.4 -r1.5 |
51 |
--- wfmath-0.3.10.ebuild 6 Dec 2010 09:28:08 -0000 1.4 |
52 |
+++ wfmath-0.3.10.ebuild 16 Jan 2011 04:11:53 -0000 1.5 |
53 |
@@ -1,6 +1,6 @@ |
54 |
-# Copyright 1999-2010 Gentoo Foundation |
55 |
+# Copyright 1999-2011 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-games/wfmath/wfmath-0.3.10.ebuild,v 1.4 2010/12/06 09:28:08 tupone Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-games/wfmath/wfmath-0.3.10.ebuild,v 1.5 2011/01/16 04:11:53 mr_bones_ Exp $ |
59 |
|
60 |
EAPI=2 |
61 |
DESCRIPTION="Worldforge math library" |
62 |
@@ -10,11 +10,17 @@ |
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="amd64 x86" |
66 |
-IUSE="doc" |
67 |
+IUSE="doc static-libs" |
68 |
|
69 |
RDEPEND="" |
70 |
DEPEND="doc? ( app-doc/doxygen )" |
71 |
|
72 |
+src_configure() { |
73 |
+ econf \ |
74 |
+ --disable-dependency-tracking \ |
75 |
+ $(use_enable static-libs static) |
76 |
+} |
77 |
+ |
78 |
src_compile() { |
79 |
emake || die "emake failed" |
80 |
if use doc; then |
81 |
@@ -28,4 +34,8 @@ |
82 |
if use doc; then |
83 |
dohtml doc/html/* |
84 |
fi |
85 |
+ if ! use static-libs ; then |
86 |
+ find "${D}" -type f -name '*.la' -exec rm {} + \ |
87 |
+ || die "la removal failed" |
88 |
+ fi |
89 |
} |