1 |
dberkholz 10/04/24 00:00:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: charm-6.2.0.ebuild |
5 |
Log: |
6 |
Bump. |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.29 sys-cluster/charm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/charm/ChangeLog?rev=1.29&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/charm/ChangeLog?rev=1.29&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/charm/ChangeLog?r1=1.28&r2=1.29 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/charm/ChangeLog,v |
19 |
retrieving revision 1.28 |
20 |
retrieving revision 1.29 |
21 |
diff -u -r1.28 -r1.29 |
22 |
--- ChangeLog 23 Apr 2010 19:09:32 -0000 1.28 |
23 |
+++ ChangeLog 24 Apr 2010 00:00:15 -0000 1.29 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sys-cluster/charm |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/charm/ChangeLog,v 1.28 2010/04/23 19:09:32 dberkholz Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/charm/ChangeLog,v 1.29 2010/04/24 00:00:15 dberkholz Exp $ |
29 |
+ |
30 |
+*charm-6.2.0 (24 Apr 2010) |
31 |
+ |
32 |
+ 24 Apr 2010; Donnie Berkholz <dberkholz@g.o>; +charm-6.2.0.ebuild: |
33 |
+ Bump. |
34 |
|
35 |
23 Apr 2010; Donnie Berkholz <dberkholz@g.o>; |
36 |
charm-6.1.2-r2.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 sys-cluster/charm/charm-6.2.0.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/charm/charm-6.2.0.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/charm/charm-6.2.0.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: charm-6.2.0.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2010 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/charm/charm-6.2.0.ebuild,v 1.1 2010/04/24 00:00:15 dberkholz Exp $ |
50 |
|
51 |
EAPI=2 |
52 |
inherit eutils toolchain-funcs flag-o-matic multilib |
53 |
|
54 |
DESCRIPTION="Charm++ is a message-passing parallel language and runtime system." |
55 |
LICENSE="charm" |
56 |
HOMEPAGE="http://charm.cs.uiuc.edu/" |
57 |
SRC_URI="http://charm.cs.uiuc.edu/distrib/${P}_src.tar.gz" |
58 |
|
59 |
LICENSE="charm" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~x86" |
62 |
IUSE="cmkopt tcp smp doc" |
63 |
|
64 |
DEPEND="doc? ( >=app-text/poppler-0.12.3-r3[utils] |
65 |
dev-tex/latex2html |
66 |
virtual/tex-base )" |
67 |
RDEPEND="" |
68 |
|
69 |
case ${ARCH} in |
70 |
x86) |
71 |
CHARM_ARCH="net-linux" ;; |
72 |
|
73 |
amd64) |
74 |
CHARM_ARCH="net-linux-amd64" ;; |
75 |
esac |
76 |
|
77 |
src_prepare() { |
78 |
# TCP instead of default UDP for socket comunication |
79 |
# protocol |
80 |
if use tcp; then |
81 |
CHARM_OPTS="${CHARM_OPTS} tcp" |
82 |
fi |
83 |
|
84 |
# enable direct SMP support using shared memory |
85 |
if use smp; then |
86 |
CHARM_OPTS="${CHARM_OPTS} smp" |
87 |
fi |
88 |
|
89 |
# CMK optimization |
90 |
if use cmkopt; then |
91 |
append-flags -DCMK_OPTIMIZE=1 |
92 |
fi |
93 |
|
94 |
echo "charm opts: ${CHARM_OPTS}" |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
# build charmm++ first |
99 |
cd "${S}" |
100 |
./build charm++ ${CHARM_ARCH} ${CHARM_OPTS} ${CFLAGS} || \ |
101 |
die "Failed to build charm++" |
102 |
|
103 |
# make pdf/html docs |
104 |
if use doc; then |
105 |
cd "${S}"/doc |
106 |
make doc || die "failed to create pdf/html docs" |
107 |
fi |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
# make charmc play well with gentoo before |
112 |
# we move it into /usr/bin |
113 |
epatch "${FILESDIR}/charm-6.1.2-charmc-gentoo.patch" |
114 |
|
115 |
sed -e "s|gentoo-include|${P}|" \ |
116 |
-e "s|gentoo-libdir|$(get_libdir)|g" \ |
117 |
-e "s|VERSION|${P}/VERSION|" \ |
118 |
-i ./src/scripts/charmc || die "failed patching charmc script" |
119 |
|
120 |
# install binaries |
121 |
cd "${S}"/bin |
122 |
dobin ./charmd ./charmd_faceless ./charmr* ./charmc ./charmxi \ |
123 |
./conv-cpm ./dep.pl || die "Failed to install binaries" |
124 |
|
125 |
# install headers |
126 |
cd "${S}"/include |
127 |
insinto /usr/include/${P} |
128 |
doins * || die "failed to install header files" |
129 |
|
130 |
# install static libs |
131 |
# charm has a lot of .o "libs" that it requires at runtime |
132 |
cd "${S}"/lib |
133 |
dolib.a *.{a,o} || die "failed to install static libs" |
134 |
|
135 |
# install shared libs |
136 |
cd "${S}"/lib_so |
137 |
dolib.so *.so* || die "failed to install shared libs" |
138 |
|
139 |
# basic docs |
140 |
cd "${S}" |
141 |
dodoc CHANGES README || die "Failed to install docs" |
142 |
|
143 |
# install examples |
144 |
find examples/ -name 'Makefile' | xargs sed \ |
145 |
-r "s:(../)+bin/charmc:/usr/bin/charmc:" -i || \ |
146 |
die "Failed to fix examples" |
147 |
find examples/ -name 'Makefile' | xargs sed \ |
148 |
-r "s:./charmrun:./charmrun ++local:" -i || \ |
149 |
die "Failed to fix examples" |
150 |
insinto /usr/share/doc/${PF}/examples |
151 |
doins -r examples/charm++/* |
152 |
|
153 |
# pdf/html docs |
154 |
if use doc; then |
155 |
cd "${S}"/doc |
156 |
# install pdfs |
157 |
insinto /usr/share/doc/${PF}/pdf |
158 |
doins doc/pdf/* || die "failed to install pdf docs" |
159 |
# install html |
160 |
docinto html |
161 |
dohtml -r doc/html/* || die "failed to install html docs" |
162 |
fi |
163 |
} |
164 |
|
165 |
pkg_postinst() { |
166 |
echo |
167 |
einfo "Please test your charm installation by copying the" |
168 |
einfo "content of /usr/share/doc/${PF}/examples to a" |
169 |
einfo "temporary location and run 'make test'." |
170 |
echo |
171 |
} |