Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.20.00.ebuild,v 1.4 2008/07/29 10:43:53 bicatali Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.20.00.ebuild,v 1.4 2008/07/29 10:43:53 bicatali Exp $ |
4 |
|
4 |
|
5 |
EAPI=1 |
5 |
EAPI=1 |
6 |
inherit versionator flag-o-matic eutils toolchain-funcs qt4 fortran |
6 |
inherit versionator flag-o-matic eutils toolchain-funcs qt4 fortran elisp-common |
7 |
|
7 |
|
8 |
#DOC_PV=$(get_major_version)_$(get_version_component_range 2) |
8 |
#DOC_PV=$(get_major_version)_$(get_version_component_range 2) |
9 |
DOC_PV=5_16 |
9 |
DOC_PV=5_16 |
Lines 17-23
Link Here
|
17 |
LICENSE="LGPL-2.1" |
17 |
LICENSE="LGPL-2.1" |
18 |
KEYWORDS="~amd64 ~hppa ~sparc ~x86" |
18 |
KEYWORDS="~amd64 ~hppa ~sparc ~x86" |
19 |
|
19 |
|
20 |
IUSE="afs cern clarens doc fftw geant4 kerberos ldap +math mysql odbc |
20 |
IUSE="afs cern clarens doc emacs fftw geant4 kerberos ldap +math mysql odbc |
21 |
oracle postgres python ruby qt4 ssl xml xrootd" |
21 |
oracle postgres python ruby qt4 ssl xml xrootd" |
22 |
|
22 |
|
23 |
# libafterimage ignored, may be re-install for >=5.20 |
23 |
# libafterimage ignored, may be re-install for >=5.20 |
Lines 53-59
Link Here
|
53 |
geant4? ( sci-physics/geant:4 ) |
53 |
geant4? ( sci-physics/geant:4 ) |
54 |
odbc? ( || ( dev-db/unixODBC dev-db/libiodbc ) ) |
54 |
odbc? ( || ( dev-db/unixODBC dev-db/libiodbc ) ) |
55 |
oracle? ( dev-db/oracle-instantclient-basic ) |
55 |
oracle? ( dev-db/oracle-instantclient-basic ) |
56 |
clarens? ( dev-libs/xmlrpc-c )" |
56 |
clarens? ( dev-libs/xmlrpc-c ) |
|
|
57 |
emacs? ( virtual/emacs )" |
57 |
|
58 |
|
58 |
DEPEND="${RDEPEND} |
59 |
DEPEND="${RDEPEND} |
59 |
cern? ( dev-lang/cfortran ) |
60 |
cern? ( dev-lang/cfortran ) |
Lines 179-184
Link Here
|
179 |
|
180 |
|
180 |
emake || die "emake failed" |
181 |
emake || die "emake failed" |
181 |
emake cintdlls || die "emake cintdlls failed" |
182 |
emake cintdlls || die "emake cintdlls failed" |
|
|
183 |
|
184 |
if use emacs; then |
185 |
elisp-compile build/misc/*.el || die "elisp-compile failed" |
186 |
fi |
182 |
} |
187 |
} |
183 |
|
188 |
|
184 |
src_install() { |
189 |
src_install() { |
Lines 193-196
Link Here
|
193 |
doins "${DISTDIR}"/Users_Guide_${DOC_PV}.pdf \ |
198 |
doins "${DISTDIR}"/Users_Guide_${DOC_PV}.pdf \ |
194 |
|| die "pdf install failed" |
199 |
|| die "pdf install failed" |
195 |
fi |
200 |
fi |
|
|
201 |
|
202 |
# The build system installs Emacs support unconditionally and in the wrong |
203 |
# directory. Remove it and call elisp-install in case of USE=emacs. |
204 |
rm -rf "${D}"/usr/share/emacs |
205 |
if use emacs; then |
206 |
elisp-install ${PN} build/misc/*.{el,elc} || die "elisp-install failed" |
207 |
fi |
196 |
} |
208 |
} |