/[gentoo-x86]/sci-misc/boinc/boinc-6.12.42.ebuild
Gentoo

Diff of /sci-misc/boinc/boinc-6.12.42.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/Attic/boinc-6.12.42.ebuild,v 1.2 2011/11/04 19:22:44 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/Attic/boinc-6.12.42.ebuild,v 1.3 2012/06/26 13:01:32 ssuominen Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7inherit flag-o-matic eutils wxwidgets autotools base 7inherit flag-o-matic eutils wxwidgets autotools base
8 8
18RDEPEND=" 18RDEPEND="
19 !sci-misc/boinc-bin 19 !sci-misc/boinc-bin
20 !app-admin/quickswitch 20 !app-admin/quickswitch
21 >=app-misc/ca-certificates-20080809 21 >=app-misc/ca-certificates-20080809
22 dev-libs/openssl 22 dev-libs/openssl
23 net-misc/curl[ssl,-gnutls] 23 net-misc/curl[ssl,curl_ssl_openssl]
24 sys-apps/util-linux 24 sys-apps/util-linux
25 sys-libs/zlib 25 sys-libs/zlib
26 cuda? ( 26 cuda? (
27 >=dev-util/nvidia-cuda-toolkit-2.1 27 >=dev-util/nvidia-cuda-toolkit-2.1
28 >=x11-drivers/nvidia-drivers-180.22 28 >=x11-drivers/nvidia-drivers-180.22
49 49
50AUTOTOOLS_IN_SOURCE_BUILD=1 50AUTOTOOLS_IN_SOURCE_BUILD=1
51 51
52src_prepare() { 52src_prepare() {
53 # use system ssl certificates 53 # use system ssl certificates
54 mkdir "${S}"/curl 54 mkdir curl
55 ln -s /etc/ssl/certs/ca-certificates.crt "${S}"/curl/ca-bundle.crt 55 ln -s /etc/ssl/certs/ca-certificates.crt curl/ca-bundle.crt
56 56
57 # prevent bad changes in compile flags, bug 286701 57 # prevent bad changes in compile flags, bug 286701
58 sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed" 58 sed -i -e 's:BOINC_SET_COMPILE_FLAGS::' configure.ac || die
59
60 sed -i -e 's:AC_PROG_CC:&\nAC_PROG_OBJCXX:' configure.ac || die #423081
61
62 sed -i -e 's:glib/gtypes.h:glib.h:' clientgui/gtk/taskbarex.cpp || die #413675
59 63
60 base_src_prepare 64 base_src_prepare
61 65
62 eautoreconf 66 eautoreconf
63} 67}
89 ${wxconf} 93 ${wxconf}
90} 94}
91 95
92src_install() { 96src_install() {
93 default 97 default
94 find "${ED}" -name '*.la' -exec rm -f {} + 98 prune_libtool_files --all
95 99
96 dodir /var/lib/${PN}/ 100 dodir /var/lib/${PN}/
97 keepdir /var/lib/${PN}/ 101 keepdir /var/lib/${PN}/
98 102
99 if use X; then 103 if use X; then
100 newicon "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png || die 104 newicon -s 48 "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png
101 make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}" 105 make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
102 fi 106 fi
103 107
104 # cleanup cruft 108 # cleanup cruft
105 rm -rf "${D}"/etc/ 109 rm -rf "${D}"/etc/

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20