1 |
jlec 11/06/02 07:29:42 |
2 |
|
3 |
Modified: ChangeLog buddy-2.2.ebuild buddy-2.4.ebuild |
4 |
Log: |
5 |
Make it gold ready, #369675 |
6 |
|
7 |
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.9 sci-libs/buddy/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/buddy/ChangeLog?rev=1.9&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/buddy/ChangeLog?rev=1.9&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/buddy/ChangeLog?r1=1.8&r2=1.9 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/buddy/ChangeLog,v |
19 |
retrieving revision 1.8 |
20 |
retrieving revision 1.9 |
21 |
diff -u -r1.8 -r1.9 |
22 |
--- ChangeLog 2 Jan 2010 18:06:57 -0000 1.8 |
23 |
+++ ChangeLog 2 Jun 2011 07:29:42 -0000 1.9 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for sci-libs/buddy |
26 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/buddy/ChangeLog,v 1.8 2010/01/02 18:06:57 fauli Exp $ |
28 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/buddy/ChangeLog,v 1.9 2011/06/02 07:29:42 jlec Exp $ |
30 |
+ |
31 |
+ 02 Jun 2011; Justin Lecher <jlec@g.o> buddy-2.2.ebuild, |
32 |
+ buddy-2.4.ebuild, +files/buddy-2.4-gold.patch: |
33 |
+ Make it gold ready, #369675 |
34 |
|
35 |
02 Jan 2010; Christian Faulhammer <fauli@g.o> buddy-2.4.ebuild: |
36 |
Transfer Prefix keywords |
37 |
|
38 |
|
39 |
|
40 |
1.4 sci-libs/buddy/buddy-2.2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/buddy/buddy-2.2.ebuild?rev=1.4&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/buddy/buddy-2.2.ebuild?rev=1.4&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/buddy/buddy-2.2.ebuild?r1=1.3&r2=1.4 |
45 |
|
46 |
Index: buddy-2.2.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/buddy/buddy-2.2.ebuild,v |
49 |
retrieving revision 1.3 |
50 |
retrieving revision 1.4 |
51 |
diff -u -r1.3 -r1.4 |
52 |
--- buddy-2.2.ebuild 23 Sep 2009 20:06:00 -0000 1.3 |
53 |
+++ buddy-2.2.ebuild 2 Jun 2011 07:29:42 -0000 1.4 |
54 |
@@ -1,32 +1,31 @@ |
55 |
-# Copyright 1999-2009 Gentoo Foundation |
56 |
+# Copyright 1999-2011 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/buddy/buddy-2.2.ebuild,v 1.3 2009/09/23 20:06:00 patrick Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/buddy/buddy-2.2.ebuild,v 1.4 2011/06/02 07:29:42 jlec Exp $ |
60 |
|
61 |
-DESCRIPTION="BuDDY - A Binary Decision Diagram Package" |
62 |
+DESCRIPTION="Binary Decision Diagram Package" |
63 |
HOMEPAGE="http://www.itu.dk/research/buddy/" |
64 |
SRC_URI="http://www.itu.dk/research/buddy/buddy22.tar.gz" |
65 |
|
66 |
LICENSE="as-is" |
67 |
SLOT="0" |
68 |
KEYWORDS="x86 ~ppc" |
69 |
- |
70 |
IUSE="" |
71 |
-DEPEND="" |
72 |
|
73 |
S=${WORKDIR}/buddy22 |
74 |
|
75 |
src_compile() { |
76 |
- make CFLAGS="${CFLAGS}" \ |
77 |
- LIBDIR=usr/lib \ |
78 |
- INCDIR=usr/include \ |
79 |
- || die |
80 |
+ emake \ |
81 |
+ CFLAGS="${CFLAGS}" \ |
82 |
+ LIBDIR=usr/lib \ |
83 |
+ INCDIR=usr/include \ |
84 |
+ || die |
85 |
} |
86 |
|
87 |
src_install() { |
88 |
- install -d "${D}"/usr/lib "${D}"/usr/include |
89 |
- make install \ |
90 |
- LIBDIR="${D}"/usr/lib \ |
91 |
- INCDIR="${D}"/usr/include || die |
92 |
+ dodir /usr/lib /usr/include |
93 |
+ emake install \ |
94 |
+ LIBDIR="${D}"/usr/lib \ |
95 |
+ INCDIR="${D}"/usr/include || die |
96 |
dodoc CHANGES README doc/*.txt |
97 |
insinto /usr/share/doc/${P}/ps |
98 |
doins doc/*.ps |
99 |
|
100 |
|
101 |
|
102 |
1.6 sci-libs/buddy/buddy-2.4.ebuild |
103 |
|
104 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/buddy/buddy-2.4.ebuild?rev=1.6&view=markup |
105 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/buddy/buddy-2.4.ebuild?rev=1.6&content-type=text/plain |
106 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/buddy/buddy-2.4.ebuild?r1=1.5&r2=1.6 |
107 |
|
108 |
Index: buddy-2.4.ebuild |
109 |
=================================================================== |
110 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/buddy/buddy-2.4.ebuild,v |
111 |
retrieving revision 1.5 |
112 |
retrieving revision 1.6 |
113 |
diff -u -r1.5 -r1.6 |
114 |
--- buddy-2.4.ebuild 2 Jan 2010 18:06:57 -0000 1.5 |
115 |
+++ buddy-2.4.ebuild 2 Jun 2011 07:29:42 -0000 1.6 |
116 |
@@ -1,40 +1,36 @@ |
117 |
-# Copyright 1999-2010 Gentoo Foundation |
118 |
+# Copyright 1999-2011 Gentoo Foundation |
119 |
# Distributed under the terms of the GNU General Public License v2 |
120 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/buddy/buddy-2.4.ebuild,v 1.5 2010/01/02 18:06:57 fauli Exp $ |
121 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/buddy/buddy-2.4.ebuild,v 1.6 2011/06/02 07:29:42 jlec Exp $ |
122 |
+ |
123 |
+EAPI=4 |
124 |
|
125 |
inherit eutils |
126 |
|
127 |
-DESCRIPTION="BuDDY - A Binary Decision Diagram Package" |
128 |
-HOMEPAGE="http://sourceforge.net/projects/buddy" |
129 |
+DESCRIPTION="Binary Decision Diagram Package" |
130 |
+HOMEPAGE="http://sourceforge.net/projects/buddy/" |
131 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
132 |
|
133 |
LICENSE="as-is" |
134 |
SLOT="0" |
135 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~ppc-macos" |
136 |
+IUSE="examples" |
137 |
|
138 |
-IUSE="" |
139 |
-DEPEND="" |
140 |
- |
141 |
-src_unpack() { |
142 |
- unpack ${A} |
143 |
- cd "${S}" |
144 |
- |
145 |
- epatch "${FILESDIR}"/${P}-gcc43.patch |
146 |
+src_prepare() { |
147 |
+ epatch \ |
148 |
+ "${FILESDIR}"/${P}-gcc43.patch \ |
149 |
+ "${FILESDIR}"/${P}-gold.patch |
150 |
} |
151 |
|
152 |
src_install() { |
153 |
- emake install DESTDIR="${D}" || die "emake install failed" |
154 |
+ default |
155 |
|
156 |
- dodoc ChangeLog NEWS AUTHORS README doc/*.txt || \ |
157 |
- die "failed to install docs" |
158 |
+ dodoc doc/*.txt |
159 |
|
160 |
- insinto /usr/share/doc/${P}/ps |
161 |
- doins doc/*.ps || die "failed to install postscripts files" |
162 |
+ insinto /usr/share/doc/${PF}/ps |
163 |
+ doins doc/*.ps |
164 |
|
165 |
- insinto /usr/share/${PN}/examples |
166 |
- cd examples |
167 |
- for example in *; do |
168 |
- tar -czf ${example}.tar.gz ${example} |
169 |
- doins ${example}.tar.gz |
170 |
- done |
171 |
+ if use examples; then |
172 |
+ insinto /usr/share/${PN}/ |
173 |
+ doins -r examples |
174 |
+ fi |
175 |
} |