Line
Link Here
|
0 |
-- /usr/portage/sci-misc/boinc/boinc-6.4.5-r2.ebuild |
0 |
++ /usr/local/portage/sci-misc/boinc/boinc-6.4.5-r2.ebuild |
Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
EAPI="2" |
9 |
EAPI="2" |
10 |
|
10 |
|
11 |
inherit flag-o-matic depend.apache eutils wxwidgets multilib |
11 |
inherit flag-o-matic depend.apache eutils wxwidgets |
12 |
|
12 |
|
13 |
DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" |
13 |
DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" |
14 |
HOMEPAGE="http://boinc.ssl.berkeley.edu/" |
14 |
HOMEPAGE="http://boinc.ssl.berkeley.edu/" |
Lines 124-135
Link Here
|
124 |
rm "${D}"/usr/bin/ca-bundle.crt |
124 |
rm "${D}"/usr/bin/ca-bundle.crt |
125 |
rm -rf "${D}"/etc/ |
125 |
rm -rf "${D}"/etc/ |
126 |
|
126 |
|
127 |
# initd script needs to be multilib aware |
127 |
newinitd "${FILESDIR}"/${PN}.init ${PN} |
128 |
cp "${FILESDIR}"/${PN}.init "${T}" |
|
|
129 |
sed -i \ |
130 |
-e "s:%LIBDIR%:$(get_libdir):g" \ |
131 |
"${T}"/${PN}.init || die "sed for multilib in init script failed" |
132 |
newinitd "${T}"/${PN}.init ${PN} |
133 |
newconfd "${FILESDIR}"/${PN}.conf ${PN} |
128 |
newconfd "${FILESDIR}"/${PN}.conf ${PN} |
134 |
} |
129 |
} |
135 |
|
130 |
|
136 |
-- /usr/portage/sci-misc/boinc/files/boinc.init |
131 |
++ /usr/local/portage/sci-misc/boinc/files/boinc.init |
Lines 30-38
Link Here
|
30 |
} |
30 |
} |
31 |
|
31 |
|
32 |
cuda_check() { |
32 |
cuda_check() { |
33 |
if [[ -f /opt/cuda/%LIBDIR%/libcudart.so ]]; then |
33 |
if [[ -f /opt/cuda/lib/libcudart.so ]]; then |
34 |
# symlink wont harm :] |
34 |
# symlink wont harm :] |
35 |
ln -snf /opt/cuda/%LIBDIR%/libcudart.so ${RUNTIMEDIR}/libcudart.so |
35 |
ln -snf /opt/cuda/lib/libcudart.so ${RUNTIMEDIR}/libcudart.so |
36 |
fi |
36 |
fi |
37 |
} |
37 |
} |
38 |
|
38 |
|